Class NegotiateInfo

java.lang.Object
waffle.shiro.negotiate.NegotiateInfo
All Implemented Interfaces:
Serializable, org.apache.shiro.authc.AuthenticationInfo

public class NegotiateInfo extends Object implements org.apache.shiro.authc.AuthenticationInfo
Information about a user authenticated via the HTTP Negotiate authentication mechanism.

Derived from net.skorgenes.security.jsecurity.negotiate.NegotiateToken. see: https://bitbucket.org/lothor/shiro-negotiate /src/7b25efde130b/src/main/java/net/skorgenes/security/jsecurity/negotiate/NegotiateInfo.java?at=default

Since:
1.0.0
Author:
Dan Rollo
See Also:
  • Constructor Details

    • NegotiateInfo

      public NegotiateInfo(Subject newSubject, String newRealmName)
      Creates a new info object.
      Parameters:
      newSubject - a subject containing the authenticated users WindowsPrincipal.
      newRealmName - a String containing the name of the authentication realm
  • Method Details

    • getPrincipals

      public org.apache.shiro.subject.PrincipalCollection getPrincipals()
      Creates a new principal collection using the subject as the principal.
      Specified by:
      getPrincipals in interface org.apache.shiro.authc.AuthenticationInfo
      Returns:
      a new principal collection using the subject as the principal
    • getCredentials

      public Object getCredentials()
      Returns the subject.
      Specified by:
      getCredentials in interface org.apache.shiro.authc.AuthenticationInfo
      Returns:
      the subject