Package waffle.shiro.negotiate
Class NegotiateInfo
java.lang.Object
waffle.shiro.negotiate.NegotiateInfo
- All Implemented Interfaces:
Serializable
,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 Summary
ConstructorDescriptionNegotiateInfo
(Subject newSubject, String newRealmName) Creates a new info object. -
Method Summary
Modifier and TypeMethodDescriptionReturns the subject.org.apache.shiro.subject.PrincipalCollection
Creates a new principal collection using the subject as the principal.
-
Constructor Details
-
NegotiateInfo
Creates a new info object.- Parameters:
newSubject
- a subject containing the authenticated usersWindowsPrincipal
.newRealmName
- aString
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 interfaceorg.apache.shiro.authc.AuthenticationInfo
- Returns:
- a new principal collection using the subject as the principal
-
getCredentials
Returns the subject.- Specified by:
getCredentials
in interfaceorg.apache.shiro.authc.AuthenticationInfo
- Returns:
- the subject
-