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.Authentication
public Object getCredentials()
getCredentials
in interface org.springframework.security.core.Authentication
public Object getDetails()
getDetails
in interface org.springframework.security.core.Authentication
public Object getPrincipal()
getPrincipal
in interface org.springframework.security.core.Authentication
public boolean isAuthenticated()
isAuthenticated
in interface org.springframework.security.core.Authentication
public void setAuthenticated(boolean isAuthenticated)
setAuthenticated
in interface org.springframework.security.core.Authentication
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.