|
||||||||||
| 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
public class X509TLSCredentials
TLS X509 Credentials
| Constructor Summary | |
|---|---|
X509TLSCredentials()
|
|
X509TLSCredentials(String certFile,
String keyFile,
char[] keyPassword,
String trustDir,
String trustExt)
|
|
| Method Summary | |
|---|---|
void |
disposeCredentials()
Disposes the credentials making them unusable |
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 |
boolean |
isPrepared()
|
static void |
main(String[] args)
|
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 X509TLSCredentials()
public X509TLSCredentials(String certFile,
String keyFile,
char[] keyPassword,
String trustDir,
String trustExt)
| Method Detail |
|---|
public void prepareCredentials()
prepareCredentials in interface Credentialspublic String getAuthenticationType()
getAuthenticationType in interface Credentialspublic String getAuthenticationString()
getAuthenticationString in interface Credentialspublic String getHeaderString()
getHeaderString in interface Credentialspublic static void main(String[] args)
public void disposeCredentials()
Credentials
disposeCredentials in interface Credentialspublic boolean isPrepared()
isPrepared in interface Credentials
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||