Package org.tailormap.api.security
Class TailormapOidcUser
java.lang.Object
org.springframework.security.oauth2.core.user.DefaultOAuth2User
org.springframework.security.oauth2.core.oidc.user.DefaultOidcUser
org.tailormap.api.security.TailormapOidcUser
- All Implemented Interfaces:
Serializable,org.springframework.security.core.AuthenticatedPrincipal,org.springframework.security.core.userdetails.UserDetails,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,TailormapUserDetails
public class TailormapOidcUser
extends org.springframework.security.oauth2.core.oidc.user.DefaultOidcUser
implements TailormapUserDetails
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTailormapOidcUser(Collection<? extends org.springframework.security.core.GrantedAuthority> authorities, org.springframework.security.oauth2.core.oidc.OidcIdToken idToken, org.springframework.security.oauth2.core.oidc.OidcUserInfo userInfo, String nameAttributeKey, String oidcRegistrationName, Collection<TailormapAdditionalProperty> additionalGroupProperties) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class org.springframework.security.oauth2.core.oidc.user.DefaultOidcUser
getClaims, getIdToken, getUserInfoMethods inherited from class org.springframework.security.oauth2.core.user.DefaultOAuth2User
equals, getAttributes, getAuthorities, getName, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.security.core.AuthenticatedPrincipal
getNameMethods inherited from interface org.springframework.security.oauth2.core.ClaimAccessor
getClaim, getClaimAsBoolean, getClaimAsInstant, getClaimAsMap, getClaimAsString, getClaimAsStringList, getClaimAsURL, hasClaimMethods inherited from interface org.springframework.security.oauth2.core.oidc.IdTokenClaimAccessor
getAccessTokenHash, getAudience, getAuthenticatedAt, getAuthenticationContextClass, getAuthenticationMethods, getAuthorizationCodeHash, getAuthorizedParty, getExpiresAt, getIssuedAt, getIssuer, getNonce, getSubjectMethods inherited from interface org.springframework.security.oauth2.core.OAuth2AuthenticatedPrincipal
getAttribute, getAttributes, getAuthoritiesMethods 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, getZoneInfoMethods inherited from interface org.tailormap.api.security.TailormapUserDetails
getAdditionalProperties, hasTruePropertyForKey, streamAllPropertiesForKeyMethods inherited from interface org.springframework.security.core.userdetails.UserDetails
getAuthorities, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled
-
Constructor Details
-
TailormapOidcUser
public TailormapOidcUser(Collection<? extends org.springframework.security.core.GrantedAuthority> authorities, org.springframework.security.oauth2.core.oidc.OidcIdToken idToken, org.springframework.security.oauth2.core.oidc.OidcUserInfo userInfo, String nameAttributeKey, String oidcRegistrationName, Collection<TailormapAdditionalProperty> additionalGroupProperties)
-
-
Method Details
-
getAdditionalGroupProperties
- Specified by:
getAdditionalGroupPropertiesin interfaceTailormapUserDetails
-
getPassword
- Specified by:
getPasswordin interfaceorg.springframework.security.core.userdetails.UserDetails
-
getUsername
- Specified by:
getUsernamein interfaceorg.springframework.security.core.userdetails.UserDetails
-
getOrganisation
- Specified by:
getOrganisationin interfaceTailormapUserDetails
-