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.Related specifications:
- OpenID Connect Federation 1.0, section 6.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 EntityStatementgetEntityStatement()Returns the entity statement.booleanindicatesSuccess()Checks if the response indicates success.static FederationEntityConfigurationSuccessResponseparse(HTTPResponse httpResponse)Parses a federation entity configuration success response from the specified HTTP response.HTTPResponsetoHTTPResponse()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:ResponseChecks if the response indicates success.- Returns:
trueif the response indicates success, elsefalse.
-
toHTTPResponse
public HTTPResponse toHTTPResponse()
Description copied from interface:ResponseReturns 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.
-
-