Class LoginModuleUtils
- java.lang.Object
-
- org.opennms.web.springframework.security.LoginModuleUtils
-
public abstract class LoginModuleUtils extends java.lang.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 java.util.Set<java.security.Principal>
createPrincipals(LoginHandler handler, java.util.Collection<? extends org.springframework.security.core.GrantedAuthority> collection)
static boolean
doLogin(OpenNMSLoginHandler handler, javax.security.auth.Subject subject, java.util.Map<java.lang.String,?> sharedState, java.util.Map<java.lang.String,?> options)
-
-
-
Method Detail
-
doLogin
public static boolean doLogin(OpenNMSLoginHandler handler, javax.security.auth.Subject subject, java.util.Map<java.lang.String,?> sharedState, java.util.Map<java.lang.String,?> options) throws javax.security.auth.login.LoginException
- Throws:
javax.security.auth.login.LoginException
-
createPrincipals
public static java.util.Set<java.security.Principal> createPrincipals(LoginHandler handler, java.util.Collection<? extends org.springframework.security.core.GrantedAuthority> collection)
-
-