FileDocCategorySizeDatePackage
SecuritySupport.javaAPI DocGlassfish v2 API3718Fri May 04 22:35:50 BST 2007com.sun.enterprise.server.pluggable

SecuritySupport

public interface SecuritySupport
SecuritySupport is part of PluggableFeature that provides access to internal services managed by application server.
author
Shing Wai Chan

Fields Summary
Constructors Summary
Methods Summary
public java.security.KeyStoregetKeyStore(java.lang.String token)

param
token
return
a keystore. If token is null, return the the first keystore.

public java.lang.StringgetKeyStorePassword(java.lang.String token)

param
token
return
the password for this token.

public java.lang.String[]getKeyStorePasswords()
This method returns an array of passwords in order corresponding to array of keystores.

public java.security.KeyStore[]getKeyStores()
This method returns an array of keystores containing keys and certificates.

public java.lang.String[]getTokenNames()
This method returns an array of token names in order corresponding to array of keystores.

public java.security.KeyStoregetTrustStore(java.lang.String token)

param
token
return
a truststore. If token is null, return the first truststore.

public java.security.KeyStore[]getTrustStores()
This method returns an array of truststores containing certificates.

public voidsynchronizeKeyFile(com.sun.enterprise.config.ConfigContext config, java.lang.String fileRealmName)
This method synchronize key file for given realm.

param
config the ConfigContextx
param
fileRealmName
exception
if fail to synchronize, a known exception is com.sun.enterprise.ee.synchronization.SynchronizationException