Package org.molgenis.security.oidc
Class MappedOidcUser
- java.lang.Object
-
- org.springframework.security.oauth2.core.user.DefaultOAuth2User
-
- org.springframework.security.oauth2.core.oidc.user.DefaultOidcUser
-
- org.molgenis.security.oidc.MappedOidcUser
-
- All Implemented Interfaces:
Serializable,MappedAuthenticatedPrincipal,org.springframework.security.core.AuthenticatedPrincipal,org.springframework.security.oauth2.core.ClaimAccessor,org.springframework.security.oauth2.core.OAuth2AuthenticatedPrincipal,org.springframework.security.oauth2.core.oidc.IdTokenClaimAccessor,org.springframework.security.oauth2.core.oidc.StandardClaimAccessor,org.springframework.security.oauth2.core.oidc.user.OidcUser,org.springframework.security.oauth2.core.user.OAuth2User
public class MappedOidcUser extends org.springframework.security.oauth2.core.oidc.user.DefaultOidcUser implements MappedAuthenticatedPrincipal
DefaultOidcUserwith a mapped username.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMappedName()-
Methods inherited from class org.springframework.security.oauth2.core.oidc.user.DefaultOidcUser
getClaims, getIdToken, getUserInfo
-
Methods inherited from class org.springframework.security.oauth2.core.user.DefaultOAuth2User
equals, getAttributes, getAuthorities, getName, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.springframework.security.oauth2.core.ClaimAccessor
containsClaim, getClaim, getClaimAsBoolean, getClaimAsInstant, getClaimAsMap, getClaimAsString, getClaimAsStringList, getClaimAsURL
-
Methods inherited from interface org.springframework.security.oauth2.core.oidc.IdTokenClaimAccessor
getAccessTokenHash, getAudience, getAuthenticatedAt, getAuthenticationContextClass, getAuthenticationMethods, getAuthorizationCodeHash, getAuthorizedParty, getExpiresAt, getIssuedAt, getIssuer, getNonce, getSubject
-
Methods inherited from interface org.springframework.security.oauth2.core.OAuth2AuthenticatedPrincipal
getAttribute, getAttributes, getAuthorities
-
Methods inherited from interface org.springframework.security.oauth2.core.oidc.StandardClaimAccessor
getAddress, getBirthdate, getEmail, getEmailVerified, getFamilyName, getFullName, getGender, getGivenName, getLocale, getMiddleName, getNickName, getPhoneNumber, getPhoneNumberVerified, getPicture, getPreferredUsername, getProfile, getUpdatedAt, getWebsite, getZoneInfo
-
-
-
-
Method Detail
-
getMappedName
public String getMappedName()
- Specified by:
getMappedNamein interfaceMappedAuthenticatedPrincipal
-
-