Class OAuthRPExtensionsImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
net.shibboleth.oidc.saml.xmlobject.impl.OAuthRPExtensionsImpl
- All Implemented Interfaces:
OAuthRPExtensions,AttributeExtensibleXMLObject,ElementExtensibleXMLObject,XMLObject,SAMLObject
Implementation for
OAuthRPExtensions.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringApplication type for this entity.private booleanRequire back-channel logout session id flag for this entity.private StringClient URI for this entity.private final XMLObjectChildrenList<DefaultAcrValue>Default ACR values for this entity.private intDefault max age for this entity.private booleanRequire front-channel logout session id flag for this entity.private StringGrant types for this entity.private StringID token encrypted response algorithm for this entity.private StringID token encrypted response encoder for this entity.private StringID token signed response algorithm for this entity.private StringInitiate login URI for this entity.private final XMLObjectChildrenList<PostLogoutRedirectUri>Post logout redirect URIs for this entity.private StringRequest object encryption algorithm for this entity.private StringRequest object encryption encoder for this entity.private StringRequest object signing algorithm for this entity.private final XMLObjectChildrenList<RequestUri>Request URIs for this entity.private booleanRequire auth time flag for this entity.private StringResponse types for this entity.private StringScopes for this entity.private StringSector identifier URI for this entity.private StringSoftware identifier for this entity.private StringSoftware version for this entity.private StringToken endpoint authentication method for this entity.private StringToken endpoint authentication signing algorithm for this entity.private final AttributeMap"anyAttribute" attributes.private final IndexedXMLObjectChildrenList<XMLObject>"any" children.private StringUser info encrypted response algorithm for this entity.private StringUser info encrypted response encoder for this entity.private StringUser info signed response algorithm for this entity.Fields inherited from interface net.shibboleth.oidc.saml.xmlobject.OAuthRPExtensions
APPLICATION_TYPE_ATTRIB_NAME, BACK_CHANNEL_LOGOUT_SESSION_REQUIRED_ATTRIB_NAME, CLIENT_URI_ATTRIB_NAME, DEFAULT_MAX_AGE_ATTRIB_NAME, FRONT_CHANNEL_LOGOUT_SESSION_REQUIRED_ATTRIB_NAME, GRANT_TYPES_ATTRIB_NAME, ID_TOKEN_ENCRYPTED_RESPONSE_ALG_ATTRIB_NAME, ID_TOKEN_ENCRYPTED_RESPONSE_ENC_ATTRIB_NAME, ID_TOKEN_SIGNED_RESPONSE_ALG_ATTRIB_NAME, INITIATE_LOGIN_URI_ATTRIB_NAME, REQUEST_OBJECT_ENCRYPTION_ALG_ATTRIB_NAME, REQUEST_OBJECT_ENCRYPTION_ENC_ATTRIB_NAME, REQUEST_OBJECT_SIGNING_ALG_ATTRIB_NAME, REQUIRE_AUTH_TIME_ATTRIB_NAME, RESPONSE_TYPES_ATTRIB_NAME, SCOPES_ATTRIB_NAME, SECTOR_IDENTIFIER_URI_ATTRIB_NAME, SOFTWARE_ID_ATTRIB_NAME, SOFTWARE_VERSION_ATTRIB_NAME, TOKEN_ENDPOINT_AUTH_METHOD_ATTRIB_NAME, TOKEN_ENDPOINT_AUTH_SIGNING_ALG_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME, USERINFO_ENCRYPTED_RESPONSE_ALG_ATTRIB_NAME, USERINFO_ENCRYPTED_RESPONSE_ENC_ATTRIB_NAME, USERINFO_SIGNED_RESPONSE_ALG_ATTRIB_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOAuthRPExtensionsImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the application type.Get the client URI.Get the list of default ACR values.intGet the value for default max age.Get the whitespace-delimited list of grant types.Get the JWE alg algorithm for ID token encryption.Get the JWE enc algorithm for ID token encryption.Get the JWS alg algorithm for ID token signature.Get the URI for initiating login.Get the list of post logout redirection URIs.Get the JWE alg algorithm for request object encryption.Get the JWE enc algorithm for request object encryption.Get the JWS alg algorithm for request object signature.Get the list of request URIs.Get the whitespace-delimited list of response types.Get the whitespace-delimited list of scopes.Get the sector identifier URI.Get the software identifier.Get the software version.Get the token endpoint authentication method.Get the JWS alg algorithm for token endpoint authentication signature.getUnknownXMLObjects(QName typeOrName) Get the JWE alg algorithm for UserInfo response encryption.Get the JWE enc algorithm for UserInfo response encryption.Get the JWS alg algorithm for UserInfo response signature.booleanGet the flag to require session id in back-channel logout request.booleanGet the flag to require session id in front-channel logout request.booleanGet the flag to require authentication time.voidsetApplicationType(String type) Set the application type.voidsetBackChannelLogoutSessionRequired(boolean flag) Set the flag to require session id in back-channel logout request.voidsetClientUri(String uri) Set the client URI.voidsetDefaultMaxAge(int age) Set the value for default max age.voidsetFrontChannelLogoutSessionRequired(boolean flag) Set the flag to require session id in front-channel logout request.voidsetGrantTypes(String types) Set the whitespace-delimited list of grant types.voidsetIdTokenEncryptedResponseAlg(String algorithm) Set the JWE alg algorithm for ID token encryption.voidsetIdTokenEncryptedResponseEnc(String algorithm) Set the JWE enc algorithm for ID token encryption.voidsetIdTokenSignedResponseAlg(String algorithm) Set the JWS alg algorithm for ID token signature.voidSet the URI for initiating login.voidsetRequestObjectEncryptionAlg(String algorithm) Set the JWE alg algorithm for request object encryption.voidsetRequestObjectEncryptionEnc(String algorithm) Set the JWE enc algorithm for request object encryption.voidsetRequestObjectSigningAlg(String algorithm) Set the JWS alg algorithm for request object signature.voidsetRequireAuthTime(boolean flag) Set the flag to require authentication time.voidsetResponseTypes(String types) Set the whitespace-delimited list of response types.voidSet the whitespace-delimited list of scopes.voidSet the sector identifier URI.voidsetSoftwareId(String id) Set the software identifier.voidsetSoftwareVersion(String version) Set the software version.voidsetTokenEndpointAuthMethod(String method) Set the token endpoint authentication method.voidsetTokenEndpointAuthSigningAlg(String algorithm) Set the JWS alg algorithm for token endpoint authentication signature.voidsetUserInfoEncryptedResponseAlg(String algorithm) Set the JWE alg algorithm for UserInfo response encryption.voidsetUserInfoEncryptedResponseEnc(String algorithm) Set the JWE enc algorithm for UserInfo response encryption.voidsetUserInfoSignedResponseAlg(String algorithm) Set the JWS alg algorithm for UserInfo response signature.Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, ensureDOM, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
tokenEndpointAuthMethod
Token endpoint authentication method for this entity. -
responseTypes
Response types for this entity. -
grantTypes
Grant types for this entity. -
applicationType
Application type for this entity. -
clientUri
Client URI for this entity. -
scopes
Scopes for this entity. -
softwareId
Software identifier for this entity. -
softwareVersion
Software version for this entity. -
sectorIdentifierUri
Sector identifier URI for this entity. -
idTokenSignedResponseAlg
ID token signed response algorithm for this entity. -
idTokenEncryptedResponseAlg
ID token encrypted response algorithm for this entity. -
idTokenEncryptedResponseEnc
ID token encrypted response encoder for this entity. -
userInfoSignedResponseAlg
User info signed response algorithm for this entity. -
userInfoEncryptedResponseAlg
User info encrypted response algorithm for this entity. -
userInfoEncryptedResponseEnc
User info encrypted response encoder for this entity. -
requestObjectSigningAlg
Request object signing algorithm for this entity. -
requestObjectEncryptionAlg
Request object encryption algorithm for this entity. -
requestObjectEncryptionEnc
Request object encryption encoder for this entity. -
tokenEndpointAuthSigningAlg
Token endpoint authentication signing algorithm for this entity. -
initiateLoginUri
Initiate login URI for this entity. -
defaultMaxAge
private int defaultMaxAgeDefault max age for this entity. -
requireAuthTime
private boolean requireAuthTimeRequire auth time flag for this entity. -
backChannelLogoutSessionRequired
private boolean backChannelLogoutSessionRequiredRequire back-channel logout session id flag for this entity. -
frontChannelLogoutSessionRequired
private boolean frontChannelLogoutSessionRequiredRequire front-channel logout session id flag for this entity. -
defaultAcrValues
Default ACR values for this entity. -
requestUris
Request URIs for this entity. -
postLogoutRedirectUris
Post logout redirect URIs for this entity. -
unknownAttributes
"anyAttribute" attributes. -
unknownChildren
"any" children.
-
-
Constructor Details
-
OAuthRPExtensionsImpl
protected OAuthRPExtensionsImpl(@Nullable String namespaceURI, @Nonnull String elementLocalName, @Nullable String namespacePrefix) Constructor.- Parameters:
namespaceURI- the namespace the element is inelementLocalName- the local name of the XML element this Object representsnamespacePrefix- the prefix for the given namespace
-
-
Method Details
-
getResponseTypes
Get the whitespace-delimited list of response types.- Specified by:
getResponseTypesin interfaceOAuthRPExtensions- Returns:
- list of response types
-
setResponseTypes
Set the whitespace-delimited list of response types.- Specified by:
setResponseTypesin interfaceOAuthRPExtensions- Parameters:
types- response types
-
getGrantTypes
Get the whitespace-delimited list of grant types.- Specified by:
getGrantTypesin interfaceOAuthRPExtensions- Returns:
- list of grant types
-
setGrantTypes
Set the whitespace-delimited list of grant types.- Specified by:
setGrantTypesin interfaceOAuthRPExtensions- Parameters:
types- grant types
-
getApplicationType
Get the application type.- Specified by:
getApplicationTypein interfaceOAuthRPExtensions- Returns:
- The application type.
-
setApplicationType
Set the application type.- Specified by:
setApplicationTypein interfaceOAuthRPExtensions- Parameters:
type- The application type.
-
getTokenEndpointAuthMethod
Get the token endpoint authentication method.- Specified by:
getTokenEndpointAuthMethodin interfaceOAuthRPExtensions- Returns:
- token endpoint authentication method
-
setTokenEndpointAuthMethod
Set the token endpoint authentication method.- Specified by:
setTokenEndpointAuthMethodin interfaceOAuthRPExtensions- Parameters:
method- The token endpoint authentication method.
-
getClientUri
Get the client URI.- Specified by:
getClientUriin interfaceOAuthRPExtensions- Returns:
- The client URI
-
setClientUri
Set the client URI.- Specified by:
setClientUriin interfaceOAuthRPExtensions- Parameters:
uri- The client URI.
-
getScopes
Get the whitespace-delimited list of scopes.- Specified by:
getScopesin interfaceOAuthRPExtensions- Returns:
- list of scopes
-
setScopes
Set the whitespace-delimited list of scopes.- Specified by:
setScopesin interfaceOAuthRPExtensions- Parameters:
values- the scopes
-
getSoftwareId
Get the software identifier.- Specified by:
getSoftwareIdin interfaceOAuthRPExtensions- Returns:
- software identifier
-
setSoftwareId
Set the software identifier.- Specified by:
setSoftwareIdin interfaceOAuthRPExtensions- Parameters:
id- The software identifier.
-
getSoftwareVersion
Get the software version.- Specified by:
getSoftwareVersionin interfaceOAuthRPExtensions- Returns:
- The software version.
-
setSoftwareVersion
Set the software version.- Specified by:
setSoftwareVersionin interfaceOAuthRPExtensions- Parameters:
version- The software version.
-
getSectorIdentifierUri
Get the sector identifier URI.- Specified by:
getSectorIdentifierUriin interfaceOAuthRPExtensions- Returns:
- he sector identifier URI.
-
setSectorIdentifierUri
Set the sector identifier URI.- Specified by:
setSectorIdentifierUriin interfaceOAuthRPExtensions- Parameters:
uri- The sector identifier URI.
-
getIdTokenSignedResponseAlg
Get the JWS alg algorithm for ID token signature.- Specified by:
getIdTokenSignedResponseAlgin interfaceOAuthRPExtensions- Returns:
- The JWS alg algorithm for ID token signature.
-
setIdTokenSignedResponseAlg
Set the JWS alg algorithm for ID token signature.- Specified by:
setIdTokenSignedResponseAlgin interfaceOAuthRPExtensions- Parameters:
algorithm- The JWS alg algorithm for ID token signature.
-
getIdTokenEncryptedResponseAlg
Get the JWE alg algorithm for ID token encryption.- Specified by:
getIdTokenEncryptedResponseAlgin interfaceOAuthRPExtensions- Returns:
- The JWE alg algorithm for ID token encryption.
-
setIdTokenEncryptedResponseAlg
Set the JWE alg algorithm for ID token encryption.- Specified by:
setIdTokenEncryptedResponseAlgin interfaceOAuthRPExtensions- Parameters:
algorithm- The JWE alg algorithm for ID token encryption.
-
getIdTokenEncryptedResponseEnc
Get the JWE enc algorithm for ID token encryption.- Specified by:
getIdTokenEncryptedResponseEncin interfaceOAuthRPExtensions- Returns:
- The JWE enc algorithm for ID token encryption.
-
setIdTokenEncryptedResponseEnc
Set the JWE enc algorithm for ID token encryption.- Specified by:
setIdTokenEncryptedResponseEncin interfaceOAuthRPExtensions- Parameters:
algorithm- The JWE enc algorithm for ID token encryption.
-
getUserInfoSignedResponseAlg
Get the JWS alg algorithm for UserInfo response signature.- Specified by:
getUserInfoSignedResponseAlgin interfaceOAuthRPExtensions- Returns:
- The JWS alg algorithm for UserInfo response signature.
-
setUserInfoSignedResponseAlg
Set the JWS alg algorithm for UserInfo response signature.- Specified by:
setUserInfoSignedResponseAlgin interfaceOAuthRPExtensions- Parameters:
algorithm- The JWS alg algorithm for UserInfo response signature.
-
getUserInfoEncryptedResponseAlg
Get the JWE alg algorithm for UserInfo response encryption.- Specified by:
getUserInfoEncryptedResponseAlgin interfaceOAuthRPExtensions- Returns:
- The JWE alg algorithm for UserInfo response encryption.
-
setUserInfoEncryptedResponseAlg
Set the JWE alg algorithm for UserInfo response encryption.- Specified by:
setUserInfoEncryptedResponseAlgin interfaceOAuthRPExtensions- Parameters:
algorithm- The JWE alg algorithm for UserInfo response encryption.
-
getUserInfoEncryptedResponseEnc
Get the JWE enc algorithm for UserInfo response encryption.- Specified by:
getUserInfoEncryptedResponseEncin interfaceOAuthRPExtensions- Returns:
- The JWE enc algorithm for UserInfo response encryption.
-
setUserInfoEncryptedResponseEnc
Set the JWE enc algorithm for UserInfo response encryption.- Specified by:
setUserInfoEncryptedResponseEncin interfaceOAuthRPExtensions- Parameters:
algorithm- The JWE enc algorithm for UserInfo response encryption.
-
getRequestObjectSigningAlg
Get the JWS alg algorithm for request object signature.- Specified by:
getRequestObjectSigningAlgin interfaceOAuthRPExtensions- Returns:
- The JWS alg algorithm for request object signature.
-
setRequestObjectSigningAlg
Set the JWS alg algorithm for request object signature.- Specified by:
setRequestObjectSigningAlgin interfaceOAuthRPExtensions- Parameters:
algorithm- The JWS alg algorithm for request object signature.
-
getRequestObjectEncryptionAlg
Get the JWE alg algorithm for request object encryption.- Specified by:
getRequestObjectEncryptionAlgin interfaceOAuthRPExtensions- Returns:
- The JWE alg algorithm for request object encryption.
-
setRequestObjectEncryptionAlg
Set the JWE alg algorithm for request object encryption.- Specified by:
setRequestObjectEncryptionAlgin interfaceOAuthRPExtensions- Parameters:
algorithm- The JWE alg algorithm for request object encryption.
-
getRequestObjectEncryptionEnc
Get the JWE enc algorithm for request object encryption.- Specified by:
getRequestObjectEncryptionEncin interfaceOAuthRPExtensions- Returns:
- The JWE enc algorithm for request object encryption.
-
setRequestObjectEncryptionEnc
Set the JWE enc algorithm for request object encryption.- Specified by:
setRequestObjectEncryptionEncin interfaceOAuthRPExtensions- Parameters:
algorithm- The JWE enc algorithm for request object encryption.
-
getTokenEndpointAuthSigningAlg
Get the JWS alg algorithm for token endpoint authentication signature.- Specified by:
getTokenEndpointAuthSigningAlgin interfaceOAuthRPExtensions- Returns:
- The JWS alg algorithm for token endpoint authentication signature.
-
setTokenEndpointAuthSigningAlg
Set the JWS alg algorithm for token endpoint authentication signature.- Specified by:
setTokenEndpointAuthSigningAlgin interfaceOAuthRPExtensions- Parameters:
algorithm- The JWS alg algorithm for token endpoint authentication signature.
-
getInitiateLoginUri
Get the URI for initiating login.- Specified by:
getInitiateLoginUriin interfaceOAuthRPExtensions- Returns:
- The URI for initiating login.
-
setInitiateLoginUri
Set the URI for initiating login.- Specified by:
setInitiateLoginUriin interfaceOAuthRPExtensions- Parameters:
uri- The URI for initiating login.
-
getDefaultMaxAge
public int getDefaultMaxAge()Get the value for default max age.- Specified by:
getDefaultMaxAgein interfaceOAuthRPExtensions- Returns:
- The value for default max age.
-
setDefaultMaxAge
public void setDefaultMaxAge(int age) Set the value for default max age.- Specified by:
setDefaultMaxAgein interfaceOAuthRPExtensions- Parameters:
age- The value for default max age.
-
isRequireAuthTime
public boolean isRequireAuthTime()Get the flag to require authentication time.- Specified by:
isRequireAuthTimein interfaceOAuthRPExtensions- Returns:
- The flag to require authentication time.
-
setRequireAuthTime
public void setRequireAuthTime(boolean flag) Set the flag to require authentication time.- Specified by:
setRequireAuthTimein interfaceOAuthRPExtensions- Parameters:
flag- The flag to require authentication time.
-
getDefaultAcrValues
Get the list of default ACR values.- Specified by:
getDefaultAcrValuesin interfaceOAuthRPExtensions- Returns:
- The list of default ACR values.
-
getRequestUris
Get the list of request URIs.- Specified by:
getRequestUrisin interfaceOAuthRPExtensions- Returns:
- The list of request URIs.
-
getPostLogoutRedirectUris
Get the list of post logout redirection URIs.- Specified by:
getPostLogoutRedirectUrisin interfaceOAuthRPExtensions- Returns:
- The list of post logout redirection URIs.
-
getOrderedChildren
- Specified by:
getOrderedChildrenin interfaceXMLObject
-
getUnknownAttributes
- Specified by:
getUnknownAttributesin interfaceAttributeExtensibleXMLObject
-
getUnknownXMLObjects
- Specified by:
getUnknownXMLObjectsin interfaceElementExtensibleXMLObject
-
getUnknownXMLObjects
- Specified by:
getUnknownXMLObjectsin interfaceElementExtensibleXMLObject
-
setBackChannelLogoutSessionRequired
public void setBackChannelLogoutSessionRequired(boolean flag) Set the flag to require session id in back-channel logout request.- Specified by:
setBackChannelLogoutSessionRequiredin interfaceOAuthRPExtensions- Parameters:
flag- The flag to require session id in back-channel logout request.
-
isBackChannelLogoutSessionRequired
public boolean isBackChannelLogoutSessionRequired()Get the flag to require session id in back-channel logout request.- Specified by:
isBackChannelLogoutSessionRequiredin interfaceOAuthRPExtensions- Returns:
- The flag to require session id in back-channel logout request.
-
setFrontChannelLogoutSessionRequired
public void setFrontChannelLogoutSessionRequired(boolean flag) Set the flag to require session id in front-channel logout request.- Specified by:
setFrontChannelLogoutSessionRequiredin interfaceOAuthRPExtensions- Parameters:
flag- The flag to require session id in front-channel logout request.
-
isFrontChannelLogoutSessionRequired
public boolean isFrontChannelLogoutSessionRequired()Get the flag to require session id in front-channel logout request.- Specified by:
isFrontChannelLogoutSessionRequiredin interfaceOAuthRPExtensions- Returns:
- The flag to require session id in front-channel logout request.
-