|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.wsspi.ssl.RetrieveSignersHelper
public class RetrieveSignersHelper
RetrieveSigners helper gives developers the ability to run the RetrieveSigners command programmatically to download signers needed for communications with the server in trusted environments. Care should taken using this command as you do not want to trust connections in environments that are not considered safe. This can help download signers for clients without intervention.
Method Summary | |
---|---|
void |
autoAcceptSignerAndStoreInTrustStore()
Method called to programmatically trust the connection and store the signer for this connection only into the local trust store. |
void |
autoAcceptSignerForThisConnectionOnly()
Method called to programmatically trust the connection without storing the signer into the local trust store. |
int |
callRetrieveSigners(java.lang.String[] args)
Method called to programmatically retrieve signers to the client's truststore. |
static RetrieveSignersHelper |
getInstance()
|
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void main(java.lang.String[] args)
public static RetrieveSignersHelper getInstance()
public int callRetrieveSigners(java.lang.String[] args)
Method called to programmatically retrieve signers to the client's truststore. The parameters passed are the same as those from the command line version of RetrieveSigners.bat(sh).
Usage:
retrieveSigners
Typical example of calling this programmatically is as follows. Other parameters may be required depending upon your environment.
For calling to an ND environment:
String[] args = new String[] {"CellDefaultTrustStore", "ClientDefaultTrustStore", "-autoAcceptBootstrapSigner"};
RetrieveSignersHelper.getInstance().callRetrieveSigners(args);
For calling to an Base environment:
String[] args = new String[] {"NodeDefaultTrustStore", "ClientDefaultTrustStore", "-autoAcceptBootstrapSigner"};
RetrieveSignersHelper.getInstance().callRetrieveSigners(args);
String[]
- - The arguments for calling RetrieveSigners.public void autoAcceptSignerForThisConnectionOnly()
Method called to programmatically trust the connection without storing the signer into the local trust store. This is typically used for one-time connections to specific servers where you do not need to store the signer for future use. This SPI must be called prior to the connection but on the same thread. It will get reset during the handshake by the WSX509TrustManager.
public void autoAcceptSignerAndStoreInTrustStore()
Method called to programmatically trust the connection and store the signer for this connection only into the local trust store. This SPI must be called prior to the connection but on the same thread. It will get reset during the handshake by the WSX509TrustManager.
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |