|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jasig.portal.security.provider.saml.SSLSecurityImpl
public class SSLSecurityImpl
This class wraps some SSL options for enforcing security then communicating with a SAML IdP or a SAML-protected Web Service Provider.
| Field Summary | |
|---|---|
protected org.slf4j.Logger |
logger
|
| Constructor Summary | |
|---|---|
SSLSecurityImpl()
|
|
| Method Summary | |
|---|---|
org.apache.http.conn.ssl.SSLSocketFactory |
getSSLSocketFactory()
Get an instance of SSL socket factory based on the supplied credentials. |
void |
setSSLClientKeystore(String ksFile,
String pass)
Set the credentials for client TSL certificate authentication |
void |
setSSLClientPrivateKeyAndCert(String pkFile,
String certFile)
Set the credentials for client TSL certificate authentication. |
void |
setSSLServerPublicKeys(String encodedKeys)
Set the public keys of server to trust. |
void |
setSSLTrustStore(String ksFile,
String pass)
Set the KeyStore of server certificates to trust. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.slf4j.Logger logger
| Constructor Detail |
|---|
public SSLSecurityImpl()
| Method Detail |
|---|
public org.apache.http.conn.ssl.SSLSocketFactory getSSLSocketFactory()
SSLSecurityWrapper
getSSLSocketFactory in interface SSLSecurityWrapper
public void setSSLClientKeystore(String ksFile,
String pass)
SSLSecurityWrapper
setSSLClientKeystore in interface SSLSecurityWrapperksFile - File name of a Java KeyStore containing the private key and certificatepass - Password for the Java KeyStore
public void setSSLTrustStore(String ksFile,
String pass)
SSLSecurityWrapper
setSSLTrustStore in interface SSLSecurityWrapperksFile - Java KeyStore containing certificates to trustpass - Password of the KeyStore
public void setSSLClientPrivateKeyAndCert(String pkFile,
String certFile)
SSLSecurityWrapper
setSSLClientPrivateKeyAndCert in interface SSLSecurityWrapperpkFile - - name of the file containing the private keycertFile - - name of the file containing the certificatepublic void setSSLServerPublicKeys(String encodedKeys)
SSLSecurityWrapper
setSSLServerPublicKeys in interface SSLSecurityWrapperencodedKeys - Base64-encoded public key(s)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||