public class SpringSecurityLoginModule
extends org.apache.karaf.jaas.modules.AbstractKarafLoginModule
AuthenticationManager
.
If the Authenticated user has AdministerSecurity permissions, they'll be given a synthetic role of "karaf_admin"
which provides access to Admin features of Karaf
Created by nbaker on 8/26/14.Modifier and Type | Field and Description |
---|---|
static String |
KARAF_ADMIN |
Constructor and Description |
---|
SpringSecurityLoginModule() |
Modifier and Type | Method and Description |
---|---|
boolean |
abort() |
org.springframework.security.AuthenticationManager |
getAuthenticationManager() |
org.pentaho.platform.api.engine.IAuthorizationPolicy |
getAuthorizationPolicy() |
void |
initialize(Subject sub,
CallbackHandler handler,
Map sharedState,
Map options) |
boolean |
login() |
boolean |
logout() |
void |
setAuthenticationManager(org.springframework.security.AuthenticationManager authenticationManager) |
void |
setAuthorizationPolicy(org.pentaho.platform.api.engine.IAuthorizationPolicy authorizationPolicy) |
public static final String KARAF_ADMIN
public org.springframework.security.AuthenticationManager getAuthenticationManager()
public org.pentaho.platform.api.engine.IAuthorizationPolicy getAuthorizationPolicy()
public void setAuthenticationManager(org.springframework.security.AuthenticationManager authenticationManager)
public void setAuthorizationPolicy(org.pentaho.platform.api.engine.IAuthorizationPolicy authorizationPolicy)
public void initialize(Subject sub, CallbackHandler handler, Map sharedState, Map options)
public boolean login() throws LoginException
LoginException
public boolean abort() throws LoginException
LoginException
public boolean logout() throws LoginException
LoginException