User: starksm Date: 01/11/09 02:42:10 Modified: src/main/org/jboss/security Tag: Branch_2_4 EJBSecurityManager.java SubjectSecurityManager.java Removed: src/main/org/jboss/security Tag: Branch_2_4 SecurityManager.java Log: Rename SecurityManager to AuthenticationManager as SecurityManager conflicts with the java.lang.SecurityManager class Revision Changes Path No revision No revision 1.3.2.2 +4 -4 jboss/src/main/org/jboss/security/EJBSecurityManager.java Index: EJBSecurityManager.java =================================================================== RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/security/EJBSecurityManager.java,v retrieving revision 1.3.2.1 retrieving revision 1.3.2.2 diff -u -r1.3.2.1 -r1.3.2.2 --- EJBSecurityManager.java 2001/11/05 04:04:54 1.3.2.1 +++ EJBSecurityManager.java 2001/11/09 10:42:09 1.3.2.2 @@ -7,14 +7,14 @@ package org.jboss.security; /** The EJBSecurityManager is a legacy interface that has been renamed because - the interface was not specific to EJBs. It now extends the SecurityManager + the interface was not specific to EJBs. It now extends the AuthenticationManager interface which replaced it for backward compatibility. * @author [EMAIL PROTECTED] - * @version $Revision: 1.3.2.1 $ - * @deprecated, use the org.jboss.security.SecurityManager interface instead. + * @version $Revision: 1.3.2.2 $ + * @deprecated, use the org.jboss.security.AuthenticationManager interface instead. */ -public interface EJBSecurityManager extends SecurityManager +public interface EJBSecurityManager extends AuthenticationManager { } 1.3.2.2 +4 -4 jboss/src/main/org/jboss/security/SubjectSecurityManager.java Index: SubjectSecurityManager.java =================================================================== RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/security/SubjectSecurityManager.java,v retrieving revision 1.3.2.1 retrieving revision 1.3.2.2 diff -u -r1.3.2.1 -r1.3.2.2 --- SubjectSecurityManager.java 2001/11/05 04:05:47 1.3.2.1 +++ SubjectSecurityManager.java 2001/11/09 10:42:09 1.3.2.2 @@ -10,13 +10,13 @@ import javax.security.auth.Subject; -/** An extension of the SecurityManager that adds the notion of the active +/** An extension of the AuthenticationManager that adds the notion of the active Subject and security domain. @author [EMAIL PROTECTED] -@version $Revision: 1.3.2.1 $ +@version $Revision: 1.3.2.2 $ */ -public interface SubjectSecurityManager extends SecurityManager +public interface SubjectSecurityManager extends AuthenticationManager { /** Get the security domain from which the security manager is from. Every security manager belongs to a named domain. The meaning of the security @@ -30,7 +30,7 @@ call, a SubjectSecurityManager has a Subject associated with the current thread. This Subject will typically contain the Principal passed to isValid as well as any number of additional Principals, and credentials. - @see SecurityManager#isValid(Principal, Object) + @see AuthenticationManager#isValid(Principal, Object) @return The previously authenticated Subject if isValid succeeded, null if isValid failed or has not been called for the active thread. */
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development