public class ApiKeyAuthenticationInfo extends Object implements org.apache.shiro.authc.AuthenticationInfo
AuthenticationInfo implementation for ApiKeys. Since API keys do not have credentials (the presence
of a valid ApiKey in the request constitutes authentication) the principal's ID is also used as the credentials.| Constructor and Description |
|---|
ApiKeyAuthenticationInfo(ApiKey apiKey,
String realm) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getCredentials() |
org.apache.shiro.subject.PrincipalCollection |
getPrincipals() |
int |
hashCode() |
String |
toString() |
public org.apache.shiro.subject.PrincipalCollection getPrincipals()
getPrincipals in interface org.apache.shiro.authc.AuthenticationInfopublic String getCredentials()
getCredentials in interface org.apache.shiro.authc.AuthenticationInfoCopyright © 2016. All Rights Reserved.