public class LegacyRequestAuthorization extends Object implements org.springframework.security.core.Authentication
| Constructor and Description |
|---|
LegacyRequestAuthorization(UUID userKey,
UUID organizationKey) |
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends org.springframework.security.core.GrantedAuthority> |
getAuthorities() |
Object |
getCredentials() |
Object |
getDetails() |
String |
getName() |
UUID |
getOrganizationKey() |
Object |
getPrincipal() |
UUID |
getUserKey() |
boolean |
isAuthenticated() |
void |
setAuthenticated(boolean isAuthenticated) |
public LegacyRequestAuthorization(UUID userKey, UUID organizationKey)
public UUID getUserKey()
public UUID getOrganizationKey()
public Collection<? extends org.springframework.security.core.GrantedAuthority> getAuthorities()
getAuthorities in interface org.springframework.security.core.Authenticationpublic Object getCredentials()
getCredentials in interface org.springframework.security.core.Authenticationpublic Object getDetails()
getDetails in interface org.springframework.security.core.Authenticationpublic Object getPrincipal()
getPrincipal in interface org.springframework.security.core.Authenticationpublic boolean isAuthenticated()
isAuthenticated in interface org.springframework.security.core.Authenticationpublic void setAuthenticated(boolean isAuthenticated)
setAuthenticated in interface org.springframework.security.core.AuthenticationCopyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.