public abstract class AbstractCredentialProvider extends AbstractLogEnabled implements CredentialProvider, Component
CredentialProvider, which is configurable.
 Extends this class for implementing a CredentialProvider (and implement NonBlockingCredentialProvider,
 BlockingCredentialProvider or both)| Modifier and Type | Field and Description | 
|---|---|
| private String | _cpModelId | 
| private String | _id | 
| private String | _label | 
| private Map<String,Object> | _paramValues | 
| Constructor and Description | 
|---|
| AbstractCredentialProvider() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object obj) | 
| String | getCredentialProviderModelId()Get the id of the  CredentialProviderModelextension point | 
| String | getId()A unique identifier | 
| String | getLabel()Get the label of the CredentialProvider | 
| Map<String,Object> | getParameterValues()Get the values of parameters (from credential provider model) | 
| int | hashCode() | 
| void | init(String id,
    String cpModelId,
    Map<String,Object> paramValues,
    String label)Initialize the credential provider with given parameters' values. | 
getLogger, setLoggerclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetUserIdentity, grantAnonymousRequest, isStillConnected, userAllowed, userNotAllowedprivate String _cpModelId
private Map<String,Object> _paramValues
public AbstractCredentialProvider()
public String getId()
CredentialProvidergetId in interface CredentialProviderpublic String getLabel()
CredentialProvidergetLabel in interface CredentialProviderpublic String getCredentialProviderModelId()
CredentialProviderCredentialProviderModel extension pointgetCredentialProviderModelId in interface CredentialProviderpublic Map<String,Object> getParameterValues()
CredentialProvidergetParameterValues in interface CredentialProviderpublic void init(String id, String cpModelId, Map<String,Object> paramValues, String label)
CredentialProviderinit in interface CredentialProviderid - The unique identifiercpModelId - The id of credential provider extension pointparamValues - The parameters' valueslabel - The specific label of this instance. Can be null