Java Doc for CoyoteServerSocketFactory.java in  » Sevlet-Container » tomcat-catalina » org » apache » coyote » tomcat5 » 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 » Sevlet Container » tomcat catalina » org.apache.coyote.tomcat5 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.coyote.tomcat5.CoyoteServerSocketFactory

CoyoteServerSocketFactory
public class CoyoteServerSocketFactory implements org.apache.catalina.net.ServerSocketFactory(Code)
This socket factory holds secure socket factory parameters. Besides the usual configuration mechanism based on setting JavaBeans properties, this component may also be configured by passing a series of attributes set with calls to setAttribute(). The following attribute names are recognized, with default values in square brackets:
  • algorithm - Certificate encoding algorithm to use. [SunX509]
  • clientAuth - Require client authentication if set to true. [false]
  • keystoreFile - Pathname to the Key Store file to be loaded. This must be an absolute path, or a relative path that is resolved against the "catalina.base" system property. ["./keystore" in the user home directory]
  • keystorePass - Password for the Key Store file to be loaded. ["changeit"]
  • keystoreType - Type of the Key Store file to be loaded. ["JKS"]
  • protocol - SSL protocol to use. [TLS]

author:
   Harish Prabandham
author:
   Costin Manolache
author:
   Craig McClanahan




Method Summary
public  ServerSocketcreateSocket(int port)
    
public  ServerSocketcreateSocket(int port, int backlog)
    
public  ServerSocketcreateSocket(int port, int backlog, InetAddress ifAddress)
    
public  StringgetAlgorithm()
     Gets the certificate encoding algorithm to be used.
public  StringgetCiphers()
    
public  StringgetClientAuth()
     Provides information about whether client authentication is enforced.
public  StringgetKeyAlias()
     Gets the alias name of the keypair and supporting certificate chain used by the server to authenticate itself to SSL clients.
public  StringgetKeystoreFile()
     Gets the pathname to the keystore file.
public  StringgetKeystorePass()
     Gets the keystore password.
public  StringgetKeystoreType()
     Gets the keystore type.
public  StringgetProtocol()
     Gets the SSL protocol variant to be used.
public  StringgetProtocols()
     Gets the SSL protocol variants to be enabled.
public  StringgetRandomFile()
     Gets the pathname to the random file.
public  StringgetRootFile()
     Gets the pathname to the root list.
public  StringgetSSLImplementation()
     Gets the name of the SSL implementation to be used.
public  voidsetAlgorithm(String algorithm)
     Sets the certificate encoding algorithm to be used.
public  voidsetCiphers(String ciphers)
     Sets the SSL cipher suites that are to be enabled.
public  voidsetClientAuth(String clientAuth)
     Sets the requirement of client authentication.
public  voidsetKeyAlias(String alias)
     Sets the alias name of the keypair and supporting certificate chain used by the server to authenticate itself to SSL clients.
public  voidsetKeystoreFile(String keystoreFile)
     Sets the pathname to the keystore file.
public  voidsetKeystorePass(String keystorePass)
     Sets the keystore password.
public  voidsetKeystoreType(String keystoreType)
     Sets the keystore type.
public  voidsetProtocol(String protocol)
     Sets the SSL protocol variant to be used.
public  voidsetProtocols(String protocols)
     Sets the SSL protocol variants to be enabled.
public  voidsetRandomFile(String randomFile)
     Sets the pathname to the random file.
public  voidsetRootFile(String rootFile)
     Sets the pathname to the root list.
public  voidsetSSLImplementation(String sslImplementation)
     Sets the name of the SSL implementation to be used.



Method Detail
createSocket
public ServerSocket createSocket(int port)(Code)



createSocket
public ServerSocket createSocket(int port, int backlog)(Code)



createSocket
public ServerSocket createSocket(int port, int backlog, InetAddress ifAddress)(Code)



getAlgorithm
public String getAlgorithm()(Code)
Gets the certificate encoding algorithm to be used. Certificate encoding algorithm



getCiphers
public String getCiphers()(Code)
Gets the list of SSL cipher suites that are to be enabled Comma-separated list of SSL cipher suites, or null if allcipher suites supported by the underlying SSL implementation are beingenabled



getClientAuth
public String getClientAuth()(Code)
Provides information about whether client authentication is enforced. true if client authentication is enforced, want if client authentication is desired,false otherwise



getKeyAlias
public String getKeyAlias()(Code)
Gets the alias name of the keypair and supporting certificate chain used by the server to authenticate itself to SSL clients. The alias name of the keypair and supporting certificate chain



getKeystoreFile
public String getKeystoreFile()(Code)
Gets the pathname to the keystore file. Pathname to the keystore file



getKeystorePass
public String getKeystorePass()(Code)
Gets the keystore password. Keystore password



getKeystoreType
public String getKeystoreType()(Code)
Gets the keystore type. Keystore type



getProtocol
public String getProtocol()(Code)
Gets the SSL protocol variant to be used. SSL protocol variant



getProtocols
public String getProtocols()(Code)
Gets the SSL protocol variants to be enabled. Comma-separated list of SSL protocol variants



getRandomFile
public String getRandomFile()(Code)
Gets the pathname to the random file. Pathname to the random file



getRootFile
public String getRootFile()(Code)
Gets the pathname to the root list. Pathname to the root list



getSSLImplementation
public String getSSLImplementation()(Code)
Gets the name of the SSL implementation to be used. SSL implementation name



setAlgorithm
public void setAlgorithm(String algorithm)(Code)
Sets the certificate encoding algorithm to be used.
Parameters:
  algorithm - Certificate encoding algorithm



setCiphers
public void setCiphers(String ciphers)(Code)
Sets the SSL cipher suites that are to be enabled. Only those SSL cipher suites that are actually supported by the underlying SSL implementation will be enabled.
Parameters:
  ciphers - Comma-separated list of SSL cipher suites



setClientAuth
public void setClientAuth(String clientAuth)(Code)
Sets the requirement of client authentication.
Parameters:
  clientAuth - true if client authentication is enforced, want if client authentication is desired,falseotherwise



setKeyAlias
public void setKeyAlias(String alias)(Code)
Sets the alias name of the keypair and supporting certificate chain used by the server to authenticate itself to SSL clients.
Parameters:
  alias - The alias name of the keypair and supporting certificatechain



setKeystoreFile
public void setKeystoreFile(String keystoreFile)(Code)
Sets the pathname to the keystore file.
Parameters:
  keystoreFile - Pathname to the keystore file



setKeystorePass
public void setKeystorePass(String keystorePass)(Code)
Sets the keystore password.
Parameters:
  keystorePass - Keystore password



setKeystoreType
public void setKeystoreType(String keystoreType)(Code)
Sets the keystore type.
Parameters:
  keystoreType - Keystore type



setProtocol
public void setProtocol(String protocol)(Code)
Sets the SSL protocol variant to be used.
Parameters:
  protocol - SSL protocol variant



setProtocols
public void setProtocols(String protocols)(Code)
Sets the SSL protocol variants to be enabled.
Parameters:
  protocols - Comma-separated list of SSL protocol variants



setRandomFile
public void setRandomFile(String randomFile)(Code)
Sets the pathname to the random file.
Parameters:
  randomFile - Pathname to the random file



setRootFile
public void setRootFile(String rootFile)(Code)
Sets the pathname to the root list.
Parameters:
  rootFile - Pathname to the root list



setSSLImplementation
public void setSSLImplementation(String sslImplementation)(Code)
Sets the name of the SSL implementation to be used.
Parameters:
  sslImplementation - SSL implementation 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)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.