|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JaasSubjectPassiveCredential
This Credential is only a container of the user's secret. Portlets may call the getSecret() method in order to obtain and work with this secret.
Field Summary |
---|
Fields inherited from interface com.ibm.portal.portlet.service.credentialvault.credentials.Credential |
---|
KEY_CREDENTIAL_SECRET |
Method Summary | |
---|---|
javax.security.auth.Subject |
getSecret()
Returns the user's secret as an Jaas Subject. |
int |
getSecretType()
Returns credential's Secret Type in terms of the constants declared in (@link CredentialSecret) Should be overwritten by any child class that "overwrites" the secret attribute. |
void |
init(java.util.Map<java.lang.String,java.lang.Object> config)
Initializes a new JaasSubjectPassiveCredential. |
Methods inherited from interface com.ibm.portal.portlet.service.credentialvault.credentials.PassiveCredential |
---|
isActive |
Method Detail |
---|
void init(java.util.Map<java.lang.String,java.lang.Object> config) throws CredentialVaultException
init
in interface Credential
config
- The configuration needed to initialize this credential:
CredentialVaultException
- If any mandatory parameter is missing or has a wrong object type as value.int getSecretType()
getSecretType
in interface Credential
CredentialVaultService
javax.security.auth.Subject getSecret()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |