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.AuthenticationInfopublic Object getCredentials()
getCredentials in interface org.apache.shiro.authc.AuthenticationInfoCopyright © 2010–2017 com.github.waffle. All rights reserved.