|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JaasSubjectCredential
Abstract inherited interface of ActiveCredential where the user's secret is a JAAS Subject pair.
Preconditions:
ActiveCredential)
| Field Summary |
|---|
| Fields inherited from interface com.ibm.portal.portlet.service.credentialvault.credentials.Credential |
|---|
KEY_CREDENTIAL_SECRET |
| Method Summary | |
|---|---|
java.net.HttpURLConnection |
getAuthenticatedConnection(java.lang.String url)
Deprecated. Returns a new Http URL connection with added authentication data. |
java.net.HttpURLConnection |
getAuthenticatedConnection(java.net.URL url)
Deprecated. Returns a new Http URL connection with added authentication data. |
int |
getSecretType()
Deprecated. Returns the credential's Secret Type in terms of the constants declared in the Credential Vault Portlet Service. Should be overwritten by any child class that "overwrites" the secret attribute. |
void |
init(java.util.Map<java.lang.String,java.lang.Object> config)
Deprecated. Initializes a new JaasSubjectCredential. |
| Methods inherited from interface com.ibm.portal.portlet.service.credentialvault.credentials.ActiveCredential |
|---|
isActive |
| Method Detail |
|---|
void init(java.util.Map<java.lang.String,java.lang.Object> config)
throws CredentialVaultException
init in interface Credentialconfig - The configuration needed to initialize this credential:
CredentialVaultException - If any mandatory parameter is missing or has a wrong object type as value.int getSecretType()
Credential
getSecretType in interface CredentialCredentialVaultService
java.net.HttpURLConnection getAuthenticatedConnection(java.net.URL url)
throws java.io.IOException
url - the target URL for the connection. Note that it need not be opened yet.
java.io.IOException - thrown if anything unexpected happened
java.net.HttpURLConnection getAuthenticatedConnection(java.lang.String url)
throws java.io.IOException
url - the target URL for the connection
java.io.IOException - thrown if anything unexpected happened.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||