public class JWTBearerTokenLoginModule extends OAuth20LoginModule
callerPrincipal, callerSubject, credential| Constructor and Description |
|---|
JWTBearerTokenLoginModule() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getJWTAssertion()
override if needed
|
void |
initialize(Subject subject,
CallbackHandler handler,
Map<String,?> sharedState,
Map<String,?> options) |
boolean |
login() |
commit, getAccessToken, getAccessTokenURI, getClientId, getClientSecret, getCredential, getIdentity, getRefreshToken, getRoleSets, setAccessToken, setAccessTokenURI, setClientId, setClientSecret, setCredential, setRefreshTokenlogout, removeCredentialspublic void initialize(Subject subject, CallbackHandler handler, Map<String,?> sharedState, Map<String,?> options)
initialize in interface LoginModuleinitialize in class OAuth20LoginModulepublic boolean login()
throws LoginException
login in interface LoginModulelogin in class OAuth20LoginModuleLoginExceptionprotected String getJWTAssertion() throws LoginException
LoginExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.