Package org.wildfly.security.http.oidc
Class OidcSecurityContext
- java.lang.Object
-
- org.wildfly.security.http.oidc.OidcSecurityContext
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RefreshableOidcSecurityContext
public class OidcSecurityContext extends Object implements Serializable
Available in secured requests under HttpServletRequest.getAttribute(). Also available in HttpSession.getAttribute under the classname of this class.- Author:
- Bill Burke, Farah Juma
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected IDToken
idToken
protected String
idTokenString
protected AccessToken
token
protected String
tokenString
-
Constructor Summary
Constructors Constructor Description OidcSecurityContext()
OidcSecurityContext(String tokenString, AccessToken token, String idTokenString, IDToken idToken)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IDToken
getIDToken()
String
getIDTokenString()
String
getRealm()
AccessToken
getToken()
String
getTokenString()
private void
readObject(ObjectInputStream in)
-
-
-
Field Detail
-
tokenString
protected String tokenString
-
idTokenString
protected String idTokenString
-
token
protected transient AccessToken token
-
idToken
protected transient IDToken idToken
-
-
Constructor Detail
-
OidcSecurityContext
public OidcSecurityContext()
-
OidcSecurityContext
public OidcSecurityContext(String tokenString, AccessToken token, String idTokenString, IDToken idToken)
-
-
Method Detail
-
getToken
public AccessToken getToken()
-
getTokenString
public String getTokenString()
-
getIDToken
public IDToken getIDToken()
-
getIDTokenString
public String getIDTokenString()
-
getRealm
public String getRealm()
-
readObject
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
-
-