Class OnmsAuthenticationDetails

  • All Implemented Interfaces:
    java.io.Serializable

    public class OnmsAuthenticationDetails
    extends org.springframework.security.web.authentication.WebAuthenticationDetails
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      OnmsAuthenticationDetails​(javax.servlet.http.HttpServletRequest request)
      Records the remote address and will also set the session Id if a session already exists (it won't create one).
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String[] getUserGroups()  
      void setUserGroups​(java.lang.String... groups)  
      java.lang.String toString()  
      • Methods inherited from class org.springframework.security.web.authentication.WebAuthenticationDetails

        equals, getRemoteAddress, getSessionId, hashCode
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • OnmsAuthenticationDetails

        public OnmsAuthenticationDetails​(javax.servlet.http.HttpServletRequest request)
        Records the remote address and will also set the session Id if a session already exists (it won't create one).
        Parameters:
        request - that the authentication request was received from
    • Method Detail

      • getUserGroups

        public java.lang.String[] getUserGroups()
      • setUserGroups

        public void setUserGroups​(java.lang.String... groups)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class org.springframework.security.web.authentication.WebAuthenticationDetails