|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HttpBasicAuthCredential
Credential for authenticating at the back-end via http basic authentication. To be used in following way:
UserPasswordCredential
| 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. |
void |
init(java.util.Map<java.lang.String,java.lang.Object> config)
Deprecated. Initializes a new HttpBasicAuthCredential. |
| Methods inherited from interface com.ibm.portal.portlet.service.credentialvault.credentials.UserPasswordCredential |
|---|
getSecretType |
| 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 Credentialinit in interface UserPasswordCredentialconfig - No specific configuration is needed to initialize this credential, also it must define the values that are
required by UserPasswordCredential
CredentialVaultException - If any mandatory parameter is missing or has a wrong object type as value.
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 | |||||||||