User: starksm
Date: 01/11/04 20:04:54
Modified: src/main/org/jboss/security Tag: Branch_2_4
EJBSecurityManager.java
Log:
Make EJBSecurityManager an empty subinterface of SecurityManager and
deprecate it.
Revision Changes Path
No revision
No revision
1.3.2.1 +7 -10 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
retrieving revision 1.3.2.1
diff -u -r1.3 -r1.3.2.1
--- EJBSecurityManager.java 2001/06/12 08:00:43 1.3
+++ EJBSecurityManager.java 2001/11/05 04:04:54 1.3.2.1
@@ -4,20 +4,17 @@
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
-
package org.jboss.security;
-import java.security.Principal;
+/** The EJBSecurityManager is a legacy interface that has been renamed because
+ the interface was not specific to EJBs. It now extends the SecurityManager
+ interface which replaced it for backward compatibility.
-
-/**
- * The EJBSecurityManager is responsible for validating credentials
- * associated with principals.
- *
- * @author Daniel O'Connor [EMAIL PROTECTED]
+ * @author [EMAIL PROTECTED]
+ * @version $Revision: 1.3.2.1 $
+ * @deprecated, use the org.jboss.security.SecurityManager interface instead.
*/
-public interface EJBSecurityManager
+public interface EJBSecurityManager extends SecurityManager
{
- public boolean isValid( Principal principal, Object credential );
}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development