[JBoss-dev] CVS update: jbosssx/src/main/org/jboss/security/plugins JaasSecurityManagerServiceMBean.java SecurityPolicyServiceMBean.java
User: user57 Date: 02/02/14 22:18:30 Modified:src/main/org/jboss/security/plugins JaasSecurityManagerServiceMBean.java SecurityPolicyServiceMBean.java Log: o Moved MBeanProxy, ObjectNameFactory and MBeanServerLocator to jboss/common and repackaged under org.jboss.util.jmx o Not building jboss-util.jar anymore, jboss-common.jar covers this, though still need to move some more stuff over (and some to varia) o updated users of the repackaged classes Revision ChangesPath 1.7 +2 -2 jbosssx/src/main/org/jboss/security/plugins/JaasSecurityManagerServiceMBean.java Index: JaasSecurityManagerServiceMBean.java === RCS file: /cvsroot/jboss/jbosssx/src/main/org/jboss/security/plugins/JaasSecurityManagerServiceMBean.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- JaasSecurityManagerServiceMBean.java 15 Feb 2002 00:46:53 - 1.6 +++ JaasSecurityManagerServiceMBean.java 15 Feb 2002 06:18:30 - 1.7 @@ -8,7 +8,7 @@ import javax.management.ObjectName; -import org.jboss.util.ObjectNameFactory; +import org.jboss.util.jmx.ObjectNameFactory; import org.jboss.security.SecurityDomain; import org.jboss.system.ServiceMBean; @@ -16,7 +16,7 @@ * The interface for the JaasSecurityManagerService mbean. * * @author [EMAIL PROTECTED] - * @version $Revision: 1.6 $ + * @version $Revision: 1.7 $ */ public interface JaasSecurityManagerServiceMBean extends ServiceMBean 1.6 +2 -2 jbosssx/src/main/org/jboss/security/plugins/SecurityPolicyServiceMBean.java Index: SecurityPolicyServiceMBean.java === RCS file: /cvsroot/jboss/jbosssx/src/main/org/jboss/security/plugins/SecurityPolicyServiceMBean.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- SecurityPolicyServiceMBean.java 15 Feb 2002 00:46:53 - 1.5 +++ SecurityPolicyServiceMBean.java 15 Feb 2002 06:18:30 - 1.6 @@ -9,13 +9,13 @@ import javax.management.ObjectName; -import org.jboss.util.ObjectNameFactory; +import org.jboss.util.jmx.ObjectNameFactory; /** * The JMX mbean interface for the SecurityPolicyService prototype. * * @author [EMAIL PROTECTED] - *@version $Revision: 1.5 $ + *@version $Revision: 1.6 $ */ public interface SecurityPolicyServiceMBean extends org.jboss.system.ServiceMBean ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbosssx/src/main/org/jboss/security/plugins JaasSecurityManagerServiceMBean.java
User: user57 Date: 02/01/02 20:00:56 Modified:src/main/org/jboss/security/plugins JaasSecurityManagerServiceMBean.java Log: o migrated all components to a new JMX domain name model. jboss.system is now where to core/spine components live. moved all components that were in JBOSS-SYSTEM that did not move into a jboss.* domain into jboss (where the server is now registered). The point was to limit the members of jboss.system to core bits only. o Created org.jboss.system.Server, which does the work of initialization that org.jboss.Main used to do. Main now only parses the command line, sets up basic legecy properties and creates a Server instance. o Moved functionality of Shutdown (component not cl tool) into Server ( which is bound as jboss.system:service=Server) o Moved more Runtime access from Info into Server. Exposed memory info as attributes. o Logging a WARN everywhere that uses System.getProperty("jboss.system.home") as that should go away soon/eventually. o Initialized the invokerMap in the harmi impl to avoid NPE o Made getopt.jar a member of the lib/* dir instead of adding it to the run.jar and shutdown.jars each time. o Minor cosmetic changes along the way. Revision ChangesPath 1.4 +1 -1 jbosssx/src/main/org/jboss/security/plugins/JaasSecurityManagerServiceMBean.java Index: JaasSecurityManagerServiceMBean.java === RCS file: /cvsroot/jboss/jbosssx/src/main/org/jboss/security/plugins/JaasSecurityManagerServiceMBean.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- JaasSecurityManagerServiceMBean.java 2001/08/30 02:59:30 1.3 +++ JaasSecurityManagerServiceMBean.java 2002/01/03 04:00:56 1.4 @@ -13,7 +13,7 @@ extends org.jboss.system.ServiceMBean { // Constants - - public static final String OBJECT_NAME = ":service=JaasSecurityManager"; + public static final String OBJECT_NAME = "jboss.security:service=JaasSecurityManager"; // Public /** Get the name of the class that provides the security manager implementation. ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbosssx/src/main/org/jboss/security/plugins JaasSecurityManagerServiceMBean.java JaasSecurityManagerService.java
User: starksm Date: 01/11/09 02:25:55 Modified:src/main/org/jboss/security/plugins Tag: Branch_2_4 JaasSecurityManagerServiceMBean.java JaasSecurityManagerService.java Log: Add support for authentication caches per domain and setting the default timed cache timeout and resolution Revision ChangesPath No revision No revision 1.1.2.3 +53 -25 jbosssx/src/main/org/jboss/security/plugins/JaasSecurityManagerServiceMBean.java Index: JaasSecurityManagerServiceMBean.java === RCS file: /cvsroot/jboss/jbosssx/src/main/org/jboss/security/plugins/JaasSecurityManagerServiceMBean.java,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -u -r1.1.2.2 -r1.1.2.3 --- JaasSecurityManagerServiceMBean.java 2001/09/26 06:36:35 1.1.2.2 +++ JaasSecurityManagerServiceMBean.java 2001/11/09 10:25:55 1.1.2.3 @@ -10,40 +10,68 @@ /** The interface for the JaasSecurityManagerService mbean. @author [EMAIL PROTECTED] - @version $Revision: 1.1.2.2 $ -*/ + @version $Revision: 1.1.2.3 $ + */ public interface JaasSecurityManagerServiceMBean -extends org.jboss.util.ServiceMBean +extends org.jboss.util.ServiceMBean { // Constants - public static final String OBJECT_NAME = "Security:name=JaasSecurityManager"; - + // Public /** Get the name of the class that provides the security manager implementation. */ -public String getSecurityManagerClassName(); + public String getSecurityManagerClassName(); /** Set the name of the class that provides the security manager implementation. +@exception ClassNotFoundException, thrown if the className cannot be found +using the thread context class loader. +@exception ClassCastException, thrown if the className does not implement the +org.jboss.security.AuthenticationManager interface. */ -public void setSecurityManagerClassName(String className) throws ClassNotFoundException; -/** Get the name of the class that provides the SecurityProxyFactory implementation. - */ -public String getSecurityProxyFactoryClassName(); -/** Set the name of the class that provides the SecurityProxyFactory implementation. - */ -public void setSecurityProxyFactoryClassName(String className) throws ClassNotFoundException; + public void setSecurityManagerClassName(String className) + throws ClassNotFoundException, ClassCastException; + /** Get the name of the class that provides the SecurityProxyFactory implementation. +*/ + public String getSecurityProxyFactoryClassName(); + /** Set the name of the class that provides the SecurityProxyFactory implementation. +*/ + public void setSecurityProxyFactoryClassName(String className) + throws ClassNotFoundException; /** Get the jndi name under which the authentication CachePolicy implenentation - is found +is found +*/ + public String getAuthenticationCacheJndiName(); + /** Set the location of the security credential cache policy. This is first treated +as a ObjectFactory location that is capable of returning CachePolicy instances +on a per security domain basis by appending a '/security-domain-name' string +to this name when looking up the CachePolicy for a domain. If this fails then +the location is treated as a single CachePolicy for all security domains. +@param jndiName, the name to the ObjectFactory or CachePolicy binding. +*/ + public void setAuthenticationCacheJndiName(String jndiName); + /** flush the cache policy for the indicated security domain if the security manager +instance supports a flushCache() method. +*/ + /** Get the default timed cache policy timeout. +@return the default cache timeout in seconds. +*/ + public int getDefaultCacheTimeout(); + /** Set the default timed cache policy timeout. This has no affect if the +AuthenticationCacheJndiName has been changed from the default value. +@param timeoutInSecs, the cache timeout in seconds. +*/ + public void setDefaultCacheTimeout(int timeoutInSecs); + /** Get the default timed cache policy resolution. +*/ + public int getDefaultCacheResolution(); + /** Set the default timed cache policy resolution. This has no affect if the +AuthenticationCacheJndiName has been changed from the default value. +@param resInSecs, resolution of timeouts in seconds. +*/ + public void setDefaultCacheResolution(int resInSecs); + + public void flushAuthenticationCache(String securityDomain); + /** Reg