Class 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOG

        public static volatile org.slf4j.Logger LOG
    • Constructor Detail

      • LoginModuleUtils

        protected LoginModuleUtils()
    • 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)