Package org.apereo.cas.services
Class PairwiseOidcRegisteredServiceUsernameAttributeProvider
- java.lang.Object
-
- org.apereo.cas.services.BaseRegisteredServiceUsernameAttributeProvider
-
- org.apereo.cas.services.PairwiseOidcRegisteredServiceUsernameAttributeProvider
-
- All Implemented Interfaces:
java.io.Serializable,org.apereo.cas.services.RegisteredServiceUsernameAttributeProvider
public class PairwiseOidcRegisteredServiceUsernameAttributeProvider extends org.apereo.cas.services.BaseRegisteredServiceUsernameAttributeProviderThis isPairwiseOidcRegisteredServiceUsernameAttributeProvider. This provides a different sub value to each Client, so as not to enable Clients to correlate the End-User's activities without permission. When pairwise Subject Identifiers are used, the OpenID Provider MUST calculate a unique sub (subject) value for each Sector Identifier. The Subject Identifier value MUST NOT be reversible by any party other than the OpenID Provider.If the client has not provided a value for
sector_identifier_uriin dynamic client Registration, the sector identifier used for pairwise identifier calculation is the host component of the registeredredirect_uri. If there are multiple host names in the registeredredirect_uris, the Client MUST register asector_identifier_uri. When asector_identifier_uriis provided, the host component of that URL is used as the sector identifier for the pairwise identifier calculation. The value of thesector_identifier_uriMUST be a URL using the https scheme that points to a JSON file containing an array of redirect_uri values. The values of the registeredredirect_uris MUST be included in the elements of the array.- Since:
- 5.2.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PairwiseOidcRegisteredServiceUsernameAttributeProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringresolveUsernameInternal(org.apereo.cas.authentication.principal.Principal principal, org.apereo.cas.authentication.principal.Service service, org.apereo.cas.services.RegisteredService registeredService)
-
-
-
Method Detail
-
resolveUsernameInternal
public java.lang.String resolveUsernameInternal(org.apereo.cas.authentication.principal.Principal principal, org.apereo.cas.authentication.principal.Service service, org.apereo.cas.services.RegisteredService registeredService)- Specified by:
resolveUsernameInternalin classorg.apereo.cas.services.BaseRegisteredServiceUsernameAttributeProvider
-
-