public abstract class BaseAuthorityConnector extends BaseConnector implements IAuthorityConnector
| Modifier and Type | Field and Description |
|---|---|
static String |
_rcsid |
protected static AuthorizationResponse |
RESPONSE_UNREACHABLE |
protected static AuthorizationResponse |
RESPONSE_UNREACHABLE_ADDITIVE |
protected static AuthorizationResponse |
RESPONSE_USERNOTFOUND |
protected static AuthorizationResponse |
RESPONSE_USERNOTFOUND_ADDITIVE |
protected static AuthorizationResponse |
RESPONSE_USERUNAUTHORIZED |
protected static AuthorizationResponse |
RESPONSE_USERUNAUTHORIZED_ADDITIVE |
currentContext, paramsGLOBAL_DENY_TOKEN| Constructor and Description |
|---|
BaseAuthorityConnector() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getAccessTokens(String userName)
Obtain the access tokens for a given user name.
|
AuthorizationResponse |
getAuthorizationResponse(String userName)
Obtain the access tokens for a given user name.
|
String[] |
getDefaultAccessTokens(String userName)
Return the default access tokens in the case where the getAccessTokens() method could not
connect with the server.
|
AuthorizationResponse |
getDefaultAuthorizationResponse(String userName)
Obtain the default access tokens for a given user name.
|
check, clearThreadContext, connect, deinstall, disconnect, getConfiguration, install, isConnected, outputConfigurationBody, outputConfigurationBody, outputConfigurationHeader, outputConfigurationHeader, outputConfigurationHeader, pack, packFixedList, packList, packList, poll, processConfigurationPost, processConfigurationPost, setThreadContext, unpack, unpackFixedList, unpackList, viewConfiguration, viewConfigurationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheck, clearThreadContext, connect, deinstall, disconnect, getConfiguration, install, isConnected, outputConfigurationBody, outputConfigurationHeader, poll, processConfigurationPost, setThreadContext, viewConfigurationpublic static final String _rcsid
protected static final AuthorizationResponse RESPONSE_UNREACHABLE
protected static final AuthorizationResponse RESPONSE_USERNOTFOUND
protected static final AuthorizationResponse RESPONSE_USERUNAUTHORIZED
protected static final AuthorizationResponse RESPONSE_UNREACHABLE_ADDITIVE
protected static final AuthorizationResponse RESPONSE_USERNOTFOUND_ADDITIVE
protected static final AuthorizationResponse RESPONSE_USERUNAUTHORIZED_ADDITIVE
public AuthorizationResponse getAuthorizationResponse(String userName) throws ManifoldCFException
getAuthorizationResponse in interface IAuthorityConnectoruserName - is the user name or identifier.ManifoldCFExceptionpublic AuthorizationResponse getDefaultAuthorizationResponse(String userName)
getDefaultAuthorizationResponse in interface IAuthorityConnectoruserName - is the user name or identifier.public String[] getAccessTokens(String userName) throws ManifoldCFException
userName - is the user name or identifier.ManifoldCFExceptionpublic String[] getDefaultAccessTokens(String userName)
userName - is the username that the access tokens are for. Typically this is not used.