Java Doc for SecurityServiceConfigMBeanImpl.java in  » ESB » open-esb » com » sun » jbi » internal » security » mbeans » 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 » ESB » open esb » com.sun.jbi.internal.security.mbeans 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.jbi.internal.security.mbeans.SecurityServiceConfigMBeanImpl

SecurityServiceConfigMBeanImpl
public class SecurityServiceConfigMBeanImpl implements SecurityServiceConfigMBean(Code)
This MBean interface extends the Configuration MBean interface for the Security Service installation configuration.
author:
   Sun Microsystems, Inc.



Constructor Summary
public  SecurityServiceConfigMBeanImpl(GenericConfigurationMBean configMBean, com.sun.jbi.EnvironmentContext aContext)
    

Method Summary
public  voidaddKeyStoreManager(String name, String manager)
     Add a new KeyStore Manager.
public  voidaddParameterToKeyStoreManager(String manager, String name, String value)
     Add a parameter to a KeyStoreManager, if it does not exist, the parameter is not added.
public  voidaddParameterToUserDomain(String domain, String name, String value)
     Add a parameter to a User Domain, if the domain does not exist, the parameter is not added.
public  voidaddUserDomain(String name, String domain)
     Add a new User Domain.
public  intapply()
     Apply the current configuration.
public  intclearProperty(String aKey)
     Delete a configuration property for this component.
public  intclearPropertyKeys()
     Delete all configuration properties for this component.
public  StringgetDefaultKeyStoreManagerName()
    
public  StringgetDefaultUserDomainName()
    
public  StringgetKeyStoreManager(String name)
     Get an XML String which has the meta-data for a particular key store manager.
Parameters:
  name - is the logical name of the KeyStoreManager.
public  StringgetKeyStoreManagers()
     Get an XML String listing all the KeyStoreManagers and their meta-data.
public  StringgetProperty(String aKey)
     Get a configuration property for this component.
Parameters:
  aKey - the property key to retrieve.
public  String[]getPropertyKeys()
     Get all configuration properties for this component.
public  StringgetSSLClientAlias()
     Get the Client Alias from the TransportSecurity Context.
public  StringgetSSLClientProtocol()
     Get the Client SSL Protocol from the TransportSecurity Context.
public  booleangetSSLClientUseDefault()
     Get the SSL Client Use Default parameter.
public  booleangetSSLServerRequireClientAuth()
     Get the SSL Server Req.
public  StringgetTransportSecurityConfig()
     Get an XML String which has the meta-data for the Transport Security Context.
public  StringgetUserDomain(String name)
     Get an XML String which has the meta-data for a particular user domain User Domain.
Parameters:
  name - is the logical name of the UserDomain.
public  StringgetUserDomains()
     Get an XML String listing all the UserDomains and their meta-data.
public  voidremoveKeyStoreManager(String name)
     Remove a KeyStore Manager.
public  voidremoveParameterFromKeyStoreManager(String manager, String name)
     Remove a parameter from the KeyStoreManager.
public  voidremoveParameterFromUserDomain(String domain, String name)
     Remove a parameter to a User Domain.
public  voidremoveUserDomain(String name)
     Remove a User Domain.
public  intrestore()
     Restore the configuration from persistent storage.
public  intsave()
     Save the configuration to persistent storage.
public  voidsetDefaultKeyStoreManagerName(String defKSMgr)
    
public  voidsetDefaultUserDomainName(String defUserDomain)
    
public  intsetProperty(String aKey, String aValue)
     Set a configuration property for this component.
public  voidsetSSLClientAlias(String alias)
     Set the Client Alias from the TransportSecurity Context.
public  voidsetSSLClientProtocol(String protocol)
     Set Client Alias from the TransportSecurity Context.
public  voidsetSSLClientUseDefault(boolean flag)
     Set the SSL Client Use Default parameter.
public  voidsetSSLServerRequireClientAuth(boolean flag)
     Set the SSL Server Req.


Constructor Detail
SecurityServiceConfigMBeanImpl
public SecurityServiceConfigMBeanImpl(GenericConfigurationMBean configMBean, com.sun.jbi.EnvironmentContext aContext) throws javax.jbi.JBIException(Code)

Parameters:
  aContext - is the Environment Context.
Parameters:
  configMBean - is an instance of the GenericConfigurationMBean to delegate the basic tasks to.
throws:
  javax.jbi.JBIException - one errors




Method Detail
addKeyStoreManager
public void addKeyStoreManager(String name, String manager)(Code)
Add a new KeyStore Manager. If a KeyStoreManager by the specified name exists, it is overwritten with the new one.
Parameters:
  name - of the manager.
Parameters:
  manager - is the implementation class that implements the KeyStoreManagerinterface.



addParameterToKeyStoreManager
public void addParameterToKeyStoreManager(String manager, String name, String value)(Code)
Add a parameter to a KeyStoreManager, if it does not exist, the parameter is not added.
Parameters:
  manager - is the name of the KeyStoreManager.
Parameters:
  name - is the name of the parameter.
Parameters:
  value - is the value for the parameter.



addParameterToUserDomain
public void addParameterToUserDomain(String domain, String name, String value)(Code)
Add a parameter to a User Domain, if the domain does not exist, the parameter is not added.
Parameters:
  domain - name of the UserDomain.
Parameters:
  name - is the name of the parameter.
Parameters:
  value - is the value for the parameter.



addUserDomain
public void addUserDomain(String name, String domain)(Code)
Add a new User Domain. If a User Domain by the specified name exists, it is overwritten with the new one.
Parameters:
  name - of the domain.
Parameters:
  domain - is the implementation class that implements the UserDomain interface.



apply
public int apply()(Code)
Apply the current configuration. Components that need to restart when the configurartion is applied will need to override this method. 0 if successful.



clearProperty
public int clearProperty(String aKey)(Code)
Delete a configuration property for this component.
Parameters:
  aKey - the property key to delete zero if successful, otherwise non-zero.



clearPropertyKeys
public int clearPropertyKeys()(Code)
Delete all configuration properties for this component. zero if successful, otherwise non-zero.



getDefaultKeyStoreManagerName
public String getDefaultKeyStoreManagerName()(Code)
the default KeyStore Manager.



getDefaultUserDomainName
public String getDefaultUserDomainName()(Code)
the default User Domain name.



getKeyStoreManager
public String getKeyStoreManager(String name)(Code)
Get an XML String which has the meta-data for a particular key store manager.
Parameters:
  name - is the logical name of the KeyStoreManager. If there is no such KeyStoreManager or the name is null then a empty string "" is returned. an XML String with information for a particular KeyStoreManager.



getKeyStoreManagers
public String getKeyStoreManagers()(Code)
Get an XML String listing all the KeyStoreManagers and their meta-data. an XML String with information for all the KeyStoreManagers.



getProperty
public String getProperty(String aKey)(Code)
Get a configuration property for this component.
Parameters:
  aKey - the property key to retrieve. the value of the key or null



getPropertyKeys
public String[] getPropertyKeys()(Code)
Get all configuration properties for this component. an array containing the property keys.



getSSLClientAlias
public String getSSLClientAlias()(Code)
Get the Client Alias from the TransportSecurity Context. the SSL Client alias.



getSSLClientProtocol
public String getSSLClientProtocol()(Code)
Get the Client SSL Protocol from the TransportSecurity Context. the SSL Client Protocol.



getSSLClientUseDefault
public boolean getSSLClientUseDefault()(Code)
Get the SSL Client Use Default parameter. true/false inducates whether thedefault Application Server SSL context is being used or not.



getSSLServerRequireClientAuth
public boolean getSSLServerRequireClientAuth()(Code)
Get the SSL Server Req. Client Auth flag. true/false inducates whether Client Auth is required by default.



getTransportSecurityConfig
public String getTransportSecurityConfig()(Code)
Get an XML String which has the meta-data for the Transport Security Context. an XML String with information for the Transport Security Context.



getUserDomain
public String getUserDomain(String name)(Code)
Get an XML String which has the meta-data for a particular user domain User Domain.
Parameters:
  name - is the logical name of the UserDomain. If there is no such UserDomainor the name is null then a empty string "" is returned. an XML String with information for a particular UserDomain.



getUserDomains
public String getUserDomains()(Code)
Get an XML String listing all the UserDomains and their meta-data. an XML String with information for all the UserDomains.



removeKeyStoreManager
public void removeKeyStoreManager(String name)(Code)
Remove a KeyStore Manager.
Parameters:
  name - of the manager.



removeParameterFromKeyStoreManager
public void removeParameterFromKeyStoreManager(String manager, String name)(Code)
Remove a parameter from the KeyStoreManager.
Parameters:
  manager - is the name of the KeyStoreManager.
Parameters:
  name - is the name of the parameter.



removeParameterFromUserDomain
public void removeParameterFromUserDomain(String domain, String name)(Code)
Remove a parameter to a User Domain.
Parameters:
  domain - name of the UserDomain.
Parameters:
  name - is the name of the parameter.



removeUserDomain
public void removeUserDomain(String name)(Code)
Remove a User Domain.
Parameters:
  name - of the domain.



restore
public int restore()(Code)
Restore the configuration from persistent storage. 0 if successful.



save
public int save()(Code)
Save the configuration to persistent storage. 0 if successful.



setDefaultKeyStoreManagerName
public void setDefaultKeyStoreManagerName(String defKSMgr)(Code)

Parameters:
  defKSMgr - is the default KeyStore Manager.



setDefaultUserDomainName
public void setDefaultUserDomainName(String defUserDomain)(Code)

Parameters:
  defUserDomain - is the default User Domain.



setProperty
public int setProperty(String aKey, String aValue)(Code)
Set a configuration property for this component.
Parameters:
  aKey - the property key
Parameters:
  aValue - the property value 0 if successful.



setSSLClientAlias
public void setSSLClientAlias(String alias)(Code)
Set the Client Alias from the TransportSecurity Context.
Parameters:
  alias - is the SSL Client alias.



setSSLClientProtocol
public void setSSLClientProtocol(String protocol)(Code)
Set Client Alias from the TransportSecurity Context.
Parameters:
  protocol - is the SSL Client protocol, allowed values are SSLv3, TLS and TLSv1



setSSLClientUseDefault
public void setSSLClientUseDefault(boolean flag)(Code)
Set the SSL Client Use Default parameter.
Parameters:
  flag - - true/false inducates whether to use thedefault Application Server SSL context or not.



setSSLServerRequireClientAuth
public void setSSLServerRequireClientAuth(boolean flag)(Code)
Set the SSL Server Req. Client Auth flag.
Parameters:
  flag - - true/false inducates whether Client Auth is required by default.



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.