|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The security context associated with a peer instance.
| Field Summary | |
static java.lang.String |
AUTHORIZATION_SECURITY
Verify only group authorization of secure connections (default server level) |
static java.lang.String |
IDENTITY_AND_AUTHORIZATION_SECURITY
Verity the identity and group authorization of secure connections (default client level) |
static java.lang.String |
PEER_SECURITY_CONTEXT_PROPERTY
|
static java.lang.String |
REMOTE_SECURITY_CONTEXT_PROPERTY
|
static java.lang.String |
SECURITY_MANAGER_PROPERTY
|
static java.lang.String |
TRUST_SECURITY
Verity the trust of secure connections |
| Method Summary | |
java.security.KeyStore |
getKeyStore()
|
java.io.File |
getKeyStoreFile()
|
char[] |
getKeyStorePassword()
|
java.lang.String |
getPeerCertificateAlias()
|
char[] |
getPeerCertificatePassword()
|
java.lang.String |
getPeerDistinguishedName()
|
SecurityContext |
getSecurityContext(Peer peer,
java.lang.String clientsecurity,
java.lang.String serversecurity)
|
SecurityContext |
getSecurityContext(java.lang.String peercert,
java.lang.String[] groupcert)
|
SecurityContext |
getSecurityContext(java.net.URI uri,
Peer peer)
|
TrustManager |
getTrustManager(java.lang.String securitylevel)
|
void |
reloadKeyStore()
Reloads the keystore |
void |
setTrustManager(java.lang.String securitylevel,
TrustManager trustmanager)
Sets the trust manager responsible for accepting certificates for the specified context |
| Field Detail |
public static final java.lang.String IDENTITY_AND_AUTHORIZATION_SECURITY
public static final java.lang.String TRUST_SECURITY
public static final java.lang.String AUTHORIZATION_SECURITY
public static final java.lang.String SECURITY_MANAGER_PROPERTY
public static final java.lang.String PEER_SECURITY_CONTEXT_PROPERTY
public static final java.lang.String REMOTE_SECURITY_CONTEXT_PROPERTY
| Method Detail |
public java.security.KeyStore getKeyStore()
public java.io.File getKeyStoreFile()
public char[] getKeyStorePassword()
public void reloadKeyStore()
throws java.security.KeyStoreException
java.security.KeyStoreExceptionpublic java.lang.String getPeerCertificateAlias()
public char[] getPeerCertificatePassword()
public java.lang.String getPeerDistinguishedName()
throws java.security.KeyStoreException
java.security.KeyStoreException
public SecurityContext getSecurityContext(Peer peer,
java.lang.String clientsecurity,
java.lang.String serversecurity)
clientsecurity - the client security levelserversecurity - the server security level
public SecurityContext getSecurityContext(java.net.URI uri,
Peer peer)
public SecurityContext getSecurityContext(java.lang.String peercert,
java.lang.String[] groupcert)
public TrustManager getTrustManager(java.lang.String securitylevel)
securitylevel - the security level (e.g. IDENTITY_SECURITY or TRUST_SECURITY)
public void setTrustManager(java.lang.String securitylevel,
TrustManager trustmanager)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||