|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WebSealTokenCredential
Credential for authenticating at a back-end system that is within the same WebSeal SSO-Domain as the portal,
i.e. you are using an WebSeal authentication proxy for the portal authentiation.
The credential needs to be provided in form of the portal's JAAS Subject
, containing a private
credential that holds the user's WebSeal token(s).
To be used in following way:
JaasSubjectCredential
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 WebSealTokenCredential. |
Methods inherited from interface com.ibm.portal.portlet.service.credentialvault.credentials.JaasSubjectCredential |
---|
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 Credential
init
in interface JaasSubjectCredential
config
- The configuration needed to initialize this credential:
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
getAuthenticatedConnection
in interface JaasSubjectCredential
url
- The target URL for the connection. Note that it need not be opened yet.
java.io.IOException
- thrown if anything unexpected happenedjava.net.HttpURLConnection getAuthenticatedConnection(java.lang.String url) throws java.io.IOException
getAuthenticatedConnection
in interface JaasSubjectCredential
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 |