Class FederationEntityConfigurationSuccessResponse
- java.lang.Object
-
- com.nimbusds.openid.connect.sdk.federation.config.FederationEntityConfigurationResponse
-
- com.nimbusds.openid.connect.sdk.federation.config.FederationEntityConfigurationSuccessResponse
-
public class FederationEntityConfigurationSuccessResponse extends FederationEntityConfigurationResponse
Federation entity configuration success response.Example HTTP response (with line breaks for clarity):
HTTP/1.1 200 OK Content-Type: application/jose; charset=UTF-8 eyJraWQiOiI4OHR3SGhGSFNiSk4xQnJ4cEdBT1A1Tk5RY3JEMFNBcEhiU3pVWjJpMjgwIiwiYWxn IjoiUlMyNTYifQ.eyJzdWIiOiJodHRwczpcL1wvb3AuYzJpZC5jb20iLCJqd2tzIjp7ImtleXMiO lt7Imt0eSI6IlJTQSIsImUiOiJBUUFCIiwidXNlIjoic2lnIiwia2lkIjoiODh0d0hoRkhTYkpOM UJyeHBHQU9QNU5OUWNyRDBTQXBIYlN6VVoyaTI4MCIsIm4iOiJqYl8zeFBJWGhDM2JJRnFuVG8xb nFDRHlwSzd6djBxNUJvUTZmNC1adXlfRWs2UFc2ZFdwQ1hGQ1R3c016YVRZV0M2VGViQnE2aGQ5T 1A5ZXVSckl3ZjBxNnBOQ3o2NG9uMGNBbXcxbmJVXzNKc21wNzRxRl9HMV9ySTVrdVZ3Z0l1VHJQT k40MUV3RlFYMGtMa2UyYTNVaHAyRTBOcHdBa2ZJa1B6ZFozTlNZVVd0TTRWTXA4SzBjN1dwRlpHS EtYcWpXcnRWX1JQajRsV0dvYWRnRFJxVEg2R0kyTF9ESVRNRHJldlk2YzU4VlhBT1VvOHBjbGk4W VVnV0J2UURqcEtGRFY5aU1IejFOZ2o0bzdRbGg5NjhFSnZNdUNXUjBKRWZhbEtvb3lQbXZGeUYwd 1NUd2FseVh6M0xsOEFxY3d4Qm1Qb3JlQzA0RnhMVGV6R2Q5U1EifV19LCJpc3MiOiJodHRwczpcL 1wvYWJjLWZlZGVyYXRpb24uYzJpZC5jb20iLCJleHAiOjIwMDAsImlhdCI6MTAwMH0.JTLM1NREw OBqwHJin4LPBnzmGbHyx61wSx-CqUNwsd9u8u_PelVwo44X_GjV-7W2iPUHTrtnBZm7TURdzyrd6 M0s5V5g0GhSrQLe4HtX_X2gZbSxAUosQKwVltnwIw0lUDOAw7jk3aQ4URXmu0enBSrNb499sAshB YWFqkrunUAcjoAGepRwhLJwmRjC21pfd5WB1fJHRkHPngeGJIp8nXbSAqJ_d-ks1Y7y0ddy3NOUX qoBrIIrXRkXzOv6xyaifginDRVu6gZl8_v4k0rjqhnosWq8yDZCHLSu2YjMkCQ2neGivDGTlnfFE oKfanrdIKy9uDnkdbgxLkjz8XEavA
Related specifications:
- OpenID Connect Federation 1.0, section 5.2.
-
-
Constructor Summary
Constructors Constructor Description FederationEntityConfigurationSuccessResponse(EntityStatement entityStatement)
Creates a new federation entity configuration success response.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityStatement
getEntityStatement()
Returns the entity statement.boolean
indicatesSuccess()
Checks if the response indicates success.static FederationEntityConfigurationSuccessResponse
parse(HTTPResponse httpResponse)
Parses a federation entity configuration success response from the specified HTTP response.HTTPResponse
toHTTPResponse()
Returns the matching HTTP response.-
Methods inherited from class com.nimbusds.openid.connect.sdk.federation.config.FederationEntityConfigurationResponse
toErrorResponse, toSuccessResponse
-
-
-
-
Constructor Detail
-
FederationEntityConfigurationSuccessResponse
public FederationEntityConfigurationSuccessResponse(EntityStatement entityStatement)
Creates a new federation entity configuration success response.- Parameters:
entityStatement
- The entity statement. Must not benull
.
-
-
Method Detail
-
getEntityStatement
public EntityStatement getEntityStatement()
Returns the entity statement. No signature or expiration validation is performed.- Returns:
- The entity statement.
-
indicatesSuccess
public boolean indicatesSuccess()
Description copied from interface:Response
Checks if the response indicates success.- Returns:
true
if the response indicates success, elsefalse
.
-
toHTTPResponse
public HTTPResponse toHTTPResponse()
Description copied from interface:Response
Returns the matching HTTP response.- Returns:
- The HTTP response.
-
parse
public static FederationEntityConfigurationSuccessResponse parse(HTTPResponse httpResponse) throws ParseException
Parses a federation entity configuration success response from the specified HTTP response.- Parameters:
httpResponse
- The HTTP response. Must not benull
.- Returns:
- The federation entity configuration success response.
- Throws:
ParseException
- If HTTP response couldn't be parsed to a federation entity configuration success response.
-
-