|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.soa3.connector.common.security.impl.X509TLSCredentials
org.gcube.soa3.connector.common.security.impl.X509CombinedCredentials
public class X509CombinedCredentials
Implementation of Credentials combining TLS and another string based credential model (extraCredentials)
| Constructor Summary | |
|---|---|
X509CombinedCredentials(Credentials extraCredentials)
|
|
X509CombinedCredentials(Credentials extraCredentials,
String certFile,
String keyFile,
String trustDir,
String trustExt)
|
|
| Method Summary | |
|---|---|
String |
getAuthenticationString()
Gets the raw credentialS String if exists, a String representiation of the credentials used otherwise |
String |
getAuthenticationType()
Returns "X509TLS" |
String |
getHeaderString()
Gets the credential string to be set in the header of the message |
void |
prepareCredentials()
Prepares the credentials to be sent with the message: if the credentials are string based and should be set in an header, they are returned as a String object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public X509CombinedCredentials(Credentials extraCredentials)
public X509CombinedCredentials(Credentials extraCredentials,
String certFile,
String keyFile,
String trustDir,
String trustExt)
| Method Detail |
|---|
public String getAuthenticationType()
getAuthenticationType in interface CredentialsgetAuthenticationType in class X509TLSCredentialspublic void prepareCredentials()
prepareCredentials in interface CredentialsprepareCredentials in class X509TLSCredentialspublic String getAuthenticationString()
getAuthenticationString in interface CredentialsgetAuthenticationString in class X509TLSCredentialspublic String getHeaderString()
getHeaderString in interface CredentialsgetHeaderString in class X509TLSCredentials
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||