public class SyncopeLoginModule extends AbstractKarafLoginModule
| Modifier and Type | Field and Description |
|---|---|
static String |
ADDRESS |
static String |
ADMIN_PASSWORD |
static String |
ADMIN_USER |
bundleContext, callbackHandler, debug, detailedLoginExcepion, options, principals, roleDiscriminator, rolePolicy, subject, user| Constructor and Description |
|---|
SyncopeLoginModule() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
abort() |
protected List<String> |
extractingRoles(String response)
Extract the user roles from the Syncope entity response.
|
void |
initialize(Subject subject,
CallbackHandler callbackHandler,
Map<String,?> sharedState,
Map<String,?> options) |
boolean |
login() |
boolean |
logout() |
checkPassword, clear, commit, getEncryptedPassword, initializepublic static final String ADDRESS
public static final String ADMIN_USER
public static final String ADMIN_PASSWORD
public void initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
public boolean login()
throws LoginException
LoginExceptionprotected List<String> extractingRoles(String response) throws Exception
response - the HTTP response from Syncope.Exception - in case of extraction failure.public boolean abort()
public boolean logout()
throws LoginException
LoginExceptionCopyright © 2007–2023 The Apache Software Foundation. All rights reserved.