Java Doc for SSLConfig.java in  » EJB-Server-geronimo » plugins » org » apache » geronimo » corba » security » config » ssl » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » EJB Server geronimo » plugins » org.apache.geronimo.corba.security.config.ssl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.geronimo.corba.security.config.ssl.SSLConfig

SSLConfig
public class SSLConfig (Code)
An active SSL configuration. The SSL configuration identifies the KeystoreManager instance to be used for SSL connections, as well as the specifics of the certificates to be used for the connections. The socket factories attached to the CORBA ORBs used the SSLConfig to retrieve SocketFactory instances for creating the secure sockets.
version:
   $Rev: 484846 $ $Date: 2006-12-08 15:34:10 -0800 (Fri, 08 Dec 2006) $



Constructor Summary
public  SSLConfig()
     Default GBean constructor.
public  SSLConfig(KeystoreManager keystoreManager)
     "Normal" constructor for config items.

Method Summary
public  SSLSocketFactorycreateSSLFactory(ClassLoader loader)
     Create an SSLServerSocketFactory instance for creating server-side SSL connections.
Parameters:
  loader - The class loader used to resolve classes requiredby the KeystoreManager.
public  SSLServerSocketFactorycreateSSLServerFactory(ClassLoader loader)
     Create an SSLSocketFactory instance for creating client-side SSL connections.
Parameters:
  loader - The class loader used to resolve classes requiredby the KeystoreManager.
public  StringgetAlgorithm()
     The encryption algorithm to use.
public  StringgetKeyAlias()
     Retrieve the key alias name to use.
public  StringgetKeyStore()
     Retrieve the name of the keystore.
public  StringgetProtocol()
     Get the protocol to be used by this SSL configuration.
public  StringgetProvider()
     Retrieve the encryption provider to be used for these connnections.
public  StringgetTrustStore()
     Retrieve the in-use truststore name.
public  voidsetAlgorithm(String algorithm)
     Algorithm to use.
public  voidsetKeyAlias(String keyAlias)
     Set the key alias to be used for the connection.
public  voidsetKeyStore(String keyStore)
     Set the name of the keystore to be used for this connection.
public  voidsetProtocol(String protocol)
     Set the protocol to be used by this configuration.
public  voidsetProvider(String provider)
     Set a new encryption provider for the SSL access.
public  voidsetTrustStore(String trustStore)
     Set the name of the truststore to be used for connections.


Constructor Detail
SSLConfig
public SSLConfig()(Code)
Default GBean constructor.



SSLConfig
public SSLConfig(KeystoreManager keystoreManager)(Code)
"Normal" constructor for config items.
Parameters:
  keystoreManager - The keystoreManager instance used to create SSL socketsfor this configuration.




Method Detail
createSSLFactory
public SSLSocketFactory createSSLFactory(ClassLoader loader) throws KeystoreException(Code)
Create an SSLServerSocketFactory instance for creating server-side SSL connections.
Parameters:
  loader - The class loader used to resolve classes requiredby the KeystoreManager. An SSLServerSocketFactory instance created with theSSLConfig specifices.
throws:
  KeystoreException - When a problem occurs while creating the factory.



createSSLServerFactory
public SSLServerSocketFactory createSSLServerFactory(ClassLoader loader) throws KeystoreException(Code)
Create an SSLSocketFactory instance for creating client-side SSL connections.
Parameters:
  loader - The class loader used to resolve classes requiredby the KeystoreManager. An SSLSocketFactory instance created with theSSLConfig specifices.
throws:
  KeystoreException - When a problem occurs while creating the factory.



getAlgorithm
public String getAlgorithm()(Code)
The encryption algorithm to use. The current encryption algorithm.



getKeyAlias
public String getKeyAlias()(Code)
Retrieve the key alias name to use. The String name of the key alias.



getKeyStore
public String getKeyStore()(Code)
Retrieve the name of the keystore. The String key store name.



getProtocol
public String getProtocol()(Code)
Get the protocol to be used by this SSL configuration. Normally, this is just "SSL". The String name of the configuration protocol.



getProvider
public String getProvider()(Code)
Retrieve the encryption provider to be used for these connnections. The current provider name.



getTrustStore
public String getTrustStore()(Code)
Retrieve the in-use truststore name. The String name of the trust store.



setAlgorithm
public void setAlgorithm(String algorithm)(Code)
Algorithm to use. As different JVMs have different implementations available, the default algorithm can be used by supplying the value "Default".
Parameters:
  algorithm - the algorithm to use, or "Default" to use the default from javax.net.ssl.KeyManagerFactory.getDefaultAlgorithm



setKeyAlias
public void setKeyAlias(String keyAlias)(Code)
Set the key alias to be used for the connection.
Parameters:
  keyAlias - The String name of the key alias.



setKeyStore
public void setKeyStore(String keyStore)(Code)
Set the name of the keystore to be used for this connection. This must be the name of a keystore stored within the KeystoreManager instance.
Parameters:
  keyStore - The key store String name.



setProtocol
public void setProtocol(String protocol)(Code)
Set the protocol to be used by this configuration.
Parameters:
  protocol - The new protocol name.



setProvider
public void setProvider(String provider)(Code)
Set a new encryption provider for the SSL access.
Parameters:
  provider - The new provider name.



setTrustStore
public void setTrustStore(String trustStore)(Code)
Set the name of the truststore to be used for connections. The truststore must map to one managed by the KeystoreManager instance.
Parameters:
  trustStore - The new trustStore name.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

w_w___w___.__ja___va2___s__.__c___om__ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.