public class SpringSecurityLoginModule
extends org.apache.karaf.jaas.modules.AbstractKarafLoginModule
org.springframework.security.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.authentication.AuthenticationManager |
getAuthenticationManager() |
IAuthorizationPolicy |
getAuthorizationPolicy() |
void |
initialize(Subject sub,
CallbackHandler handler,
Map sharedState,
Map options) |
boolean |
login() |
boolean |
logout() |
void |
setAuthenticationManager(org.springframework.security.authentication.AuthenticationManager authenticationManager) |
void |
setAuthorizationPolicy(IAuthorizationPolicy authorizationPolicy) |
public static final String KARAF_ADMIN
public org.springframework.security.authentication.AuthenticationManager getAuthenticationManager()
public IAuthorizationPolicy getAuthorizationPolicy()
public void setAuthenticationManager(org.springframework.security.authentication.AuthenticationManager authenticationManager)
public void setAuthorizationPolicy(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
Copyright © 2017 Hitachi Vantara. All rights reserved.