[jboss-cvs] jboss-seam/src/main/org/jboss/seam/security ...
Gavin King
gavin.king at jboss.com
Fri Nov 24 18:15:19 EST 2006
User: gavin
Date: 06/11/24 18:15:19
Modified: src/main/org/jboss/seam/security Authentication.java
SeamSecurityManager.java
Log:
JBSEAM-293 component precedence
Revision Changes Path
1.8 +4 -2 jboss-seam/src/main/org/jboss/seam/security/Authentication.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Authentication.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/security/Authentication.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- Authentication.java 18 Nov 2006 00:38:23 -0000 1.7
+++ Authentication.java 24 Nov 2006 23:15:19 -0000 1.8
@@ -1,9 +1,11 @@
package org.jboss.seam.security;
+import static org.jboss.seam.ScopeType.SESSION;
+import static org.jboss.seam.annotations.Install.BUILT_IN;
+
import java.io.Serializable;
import java.security.Principal;
-import static org.jboss.seam.ScopeType.SESSION;
import org.jboss.seam.Component;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Install;
@@ -18,7 +20,7 @@
*/
@Name("org.jboss.seam.security.authentication")
@Scope(SESSION)
- at Install(false)
+ at Install(value=false, precedence=BUILT_IN)
public abstract class Authentication implements Principal, Serializable
{
protected boolean authenticated;
1.17 +3 -0 jboss-seam/src/main/org/jboss/seam/security/SeamSecurityManager.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SeamSecurityManager.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/security/SeamSecurityManager.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- SeamSecurityManager.java 17 Nov 2006 02:35:46 -0000 1.16
+++ SeamSecurityManager.java 24 Nov 2006 23:15:19 -0000 1.17
@@ -1,6 +1,7 @@
package org.jboss.seam.security;
import static org.jboss.seam.ScopeType.APPLICATION;
+import static org.jboss.seam.annotations.Install.BUILT_IN;
import java.security.Permissions;
import java.security.acl.Permission;
@@ -11,6 +12,7 @@
import org.jboss.seam.Component;
import org.jboss.seam.InterceptionType;
import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Install;
import org.jboss.seam.annotations.Intercept;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
@@ -26,6 +28,7 @@
*/
@Scope(APPLICATION)
@Name("org.jboss.seam.securityManager")
+ at Install(precedence=BUILT_IN)
@Intercept(InterceptionType.NEVER)
public class SeamSecurityManager
{
More information about the jboss-cvs-commits
mailing list