public class NegotiateInfo extends Object implements org.apache.shiro.authc.AuthenticationInfo
Constructor and Description |
---|
NegotiateInfo(Subject newSubject,
String newRealmName)
Creates a new info object.
|
Modifier and Type | Method and Description |
---|---|
Object |
getCredentials()
Returns the subject.
|
org.apache.shiro.subject.PrincipalCollection |
getPrincipals()
Creates a new principal collection using the subject as the principal.
|
public NegotiateInfo(Subject newSubject, String newRealmName)
newSubject
- a subject containing the authenticated users WindowsPrincipal
.newRealmName
- a String
containing the name of the authentication realmpublic org.apache.shiro.subject.PrincipalCollection getPrincipals()
getPrincipals
in interface org.apache.shiro.authc.AuthenticationInfo
public Object getCredentials()
getCredentials
in interface org.apache.shiro.authc.AuthenticationInfo
Copyright © 2010–2015 com.github.dblock. All rights reserved.