Package org.wildfly.security.http.oidc
Class OidcAccount
- java.lang.Object
-
- org.wildfly.security.http.oidc.OidcAccount
-
- All Implemented Interfaces:
Serializable
public class OidcAccount extends Object implements Serializable
- Author:
- Pedro Igor
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private OidcPrincipal<RefreshableOidcSecurityContext>
principal
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description OidcAccount(OidcPrincipal<RefreshableOidcSecurityContext> principal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkActive()
RefreshableOidcSecurityContext
getOidcSecurityContext()
Principal
getPrincipal()
Set<String>
getRoles()
(package private) void
setCurrentRequestInfo(OidcClientConfiguration deployment, OidcTokenStore tokenStore)
(package private) boolean
tryRefresh()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
principal
private final OidcPrincipal<RefreshableOidcSecurityContext> principal
-
-
Constructor Detail
-
OidcAccount
public OidcAccount(OidcPrincipal<RefreshableOidcSecurityContext> principal)
-
-
Method Detail
-
getOidcSecurityContext
public RefreshableOidcSecurityContext getOidcSecurityContext()
-
getPrincipal
public Principal getPrincipal()
-
setCurrentRequestInfo
void setCurrentRequestInfo(OidcClientConfiguration deployment, OidcTokenStore tokenStore)
-
checkActive
public boolean checkActive()
-
tryRefresh
boolean tryRefresh()
-
-