Class OpenIdConnectUserAuthentication
- java.lang.Object
-
- com.aquima.web.boot.security.openid.OpenIdConnectUserAuthentication
-
- All Implemented Interfaces:
OpenIdConnectAuthentication
,com.blueriq.component.api.security.BlueriqAuthentication
,Serializable
,Principal
,org.springframework.security.core.Authentication
public class OpenIdConnectUserAuthentication extends Object implements OpenIdConnectAuthentication
Represents a user that was authenticated using OpenID Connect authorization code or password grants.- Since:
- 11.3
- Author:
- Timea Popa
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<? extends org.springframework.security.core.GrantedAuthority>
getAuthorities()
Object
getCredentials()
Object
getDetails()
String
getEncodedAccessToken()
The access token in encoded form.String
getName()
Object
getPrincipal()
String
getProperty(String name)
List<String>
getPropertyNames()
List<String>
getRoles()
List<String>
getTeams()
boolean
isAnonymous()
boolean
isAuthenticated()
boolean
isAutomatic()
void
setAuthenticated(boolean authenticated)
String
toString()
-
-
-
Method Detail
-
getAuthorities
public Collection<? extends org.springframework.security.core.GrantedAuthority> getAuthorities()
- Specified by:
getAuthorities
in interfaceorg.springframework.security.core.Authentication
-
getCredentials
public Object getCredentials()
- Specified by:
getCredentials
in interfaceorg.springframework.security.core.Authentication
-
getDetails
public Object getDetails()
- Specified by:
getDetails
in interfaceorg.springframework.security.core.Authentication
-
getPrincipal
public Object getPrincipal()
- Specified by:
getPrincipal
in interfaceorg.springframework.security.core.Authentication
-
isAuthenticated
public boolean isAuthenticated()
- Specified by:
isAuthenticated
in interfaceorg.springframework.security.core.Authentication
-
setAuthenticated
public void setAuthenticated(boolean authenticated) throws IllegalArgumentException
- Specified by:
setAuthenticated
in interfaceorg.springframework.security.core.Authentication
- Throws:
IllegalArgumentException
-
getRoles
public List<String> getRoles()
- Specified by:
getRoles
in interfacecom.blueriq.component.api.security.BlueriqAuthentication
-
getTeams
public List<String> getTeams()
- Specified by:
getTeams
in interfacecom.blueriq.component.api.security.BlueriqAuthentication
-
isAnonymous
public boolean isAnonymous()
- Specified by:
isAnonymous
in interfacecom.blueriq.component.api.security.BlueriqAuthentication
-
isAutomatic
public boolean isAutomatic()
- Specified by:
isAutomatic
in interfacecom.blueriq.component.api.security.BlueriqAuthentication
-
getPropertyNames
public List<String> getPropertyNames()
- Specified by:
getPropertyNames
in interfacecom.blueriq.component.api.security.BlueriqAuthentication
-
getProperty
public String getProperty(String name)
- Specified by:
getProperty
in interfacecom.blueriq.component.api.security.BlueriqAuthentication
-
getEncodedAccessToken
public String getEncodedAccessToken()
Description copied from interface:OpenIdConnectAuthentication
The access token in encoded form. This form is suitable for use in an Authorization: Bearer header.- Specified by:
getEncodedAccessToken
in interfaceOpenIdConnectAuthentication
- Returns:
- the encoded access token
-
-