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, params
GLOBAL_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, viewConfiguration
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
check, clearThreadContext, connect, deinstall, disconnect, getConfiguration, install, isConnected, outputConfigurationBody, outputConfigurationHeader, poll, processConfigurationPost, setThreadContext, viewConfiguration
public 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 IAuthorityConnector
userName
- is the user name or identifier.ManifoldCFException
public AuthorizationResponse getDefaultAuthorizationResponse(String userName)
getDefaultAuthorizationResponse
in interface IAuthorityConnector
userName
- is the user name or identifier.public String[] getAccessTokens(String userName) throws ManifoldCFException
userName
- is the user name or identifier.ManifoldCFException
public String[] getDefaultAccessTokens(String userName)
userName
- is the username that the access tokens are for. Typically this is not used.