public abstract class LoginModuleUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
| Modifier | Constructor and Description |
|---|---|
protected |
LoginModuleUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Set<Principal> |
createPrincipals(LoginHandler handler,
Collection<? extends org.springframework.security.core.GrantedAuthority> collection) |
static boolean |
doLogin(OpenNMSLoginHandler handler,
Subject subject,
Map<String,?> sharedState,
Map<String,?> options) |
public static boolean doLogin(OpenNMSLoginHandler handler, Subject subject, Map<String,?> sharedState, Map<String,?> options) throws LoginException
LoginExceptionpublic static Set<Principal> createPrincipals(LoginHandler handler, Collection<? extends org.springframework.security.core.GrantedAuthority> collection)
Copyright © 2020. All rights reserved.