Class LoginModuleUtils
- java.lang.Object
-
- org.opennms.web.springframework.security.LoginModuleUtils
-
public abstract class LoginModuleUtils extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.Logger
LOG
-
Constructor Summary
Constructors Modifier Constructor Description protected
LoginModuleUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
doLogin
public static boolean doLogin(OpenNMSLoginHandler handler, Subject subject, Map<String,?> sharedState, Map<String,?> options) throws LoginException
- Throws:
LoginException
-
createPrincipals
public static Set<Principal> createPrincipals(LoginHandler handler, Collection<? extends org.springframework.security.core.GrantedAuthority> collection)
-
-