public class ApiKeyAuthenticationToken extends Object implements org.apache.shiro.authc.AuthenticationToken
AuthenticationToken implementation for ApiKeys. Since API keys do not have credentials (the presence
of a valid ApiKey in the request constitutes authentication) the ID is also used as the credentials.| Constructor and Description |
|---|
ApiKeyAuthenticationToken(String apiKey) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCredentials() |
String |
getPrincipal() |
String |
toString() |
public ApiKeyAuthenticationToken(String apiKey)
Copyright © 2017. All Rights Reserved.