public class AnonymousAuthenticator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected char[] |
accessToken |
protected RestClient |
coreClient |
protected RestClient |
rstsClient |
protected String |
safeguardCoreUrl |
protected String |
safeguardRstsUrl |
| Constructor and Description |
|---|
AnonymousAuthenticator(String networkAddress,
int apiVersion,
boolean ignoreSsl) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearAccessToken() |
Object |
cloneObject() |
void |
dispose() |
protected void |
finalize() |
char[] |
getAccessToken() |
int |
getAccessTokenLifetimeRemaining() |
int |
getApiVersion() |
String |
getId() |
String |
getNetworkAddress() |
protected char[] |
getRstsTokenInternal() |
boolean |
hasAccessToken() |
boolean |
isAnonymous() |
boolean |
isIgnoreSsl() |
void |
refreshAccessToken() |
protected char[] accessToken
protected final String safeguardRstsUrl
protected final String safeguardCoreUrl
protected RestClient rstsClient
protected RestClient coreClient
public AnonymousAuthenticator(String networkAddress, int apiVersion, boolean ignoreSsl)
public String getId()
getId in interface IAuthenticationMechanismpublic boolean isAnonymous()
isAnonymous in interface IAuthenticationMechanismprotected char[] getRstsTokenInternal()
throws SafeguardForJavaException
SafeguardForJavaExceptionpublic boolean hasAccessToken()
hasAccessToken in interface IAuthenticationMechanismpublic Object cloneObject() throws SafeguardForJavaException
cloneObject in interface IAuthenticationMechanismSafeguardForJavaExceptionpublic void dispose()
dispose in interface IAuthenticationMechanismpublic String getNetworkAddress()
getNetworkAddress in interface IAuthenticationMechanismpublic int getApiVersion()
getApiVersion in interface IAuthenticationMechanismpublic boolean isIgnoreSsl()
isIgnoreSsl in interface IAuthenticationMechanismpublic void clearAccessToken()
clearAccessToken in interface IAuthenticationMechanismpublic char[] getAccessToken()
throws ObjectDisposedException
getAccessToken in interface IAuthenticationMechanismObjectDisposedExceptionpublic int getAccessTokenLifetimeRemaining()
throws ObjectDisposedException,
SafeguardForJavaException
getAccessTokenLifetimeRemaining in interface IAuthenticationMechanismObjectDisposedExceptionSafeguardForJavaExceptionpublic void refreshAccessToken()
throws ObjectDisposedException,
SafeguardForJavaException
refreshAccessToken in interface IAuthenticationMechanismObjectDisposedExceptionSafeguardForJavaExceptionCopyright © 2019. All rights reserved.