[jboss-cvs] jboss-seam/src/main/org/jboss/seam/security ...
Shane Bryzak
sbryzak at redhat.com
Tue Nov 20 22:05:49 EST 2007
User: sbryzak2
Date: 07/11/20 22:05:48
Modified: src/main/org/jboss/seam/security Identity.java
RuleBasedIdentity.java
Log:
removed unused fields/methods, minor
Revision Changes Path
1.110 +0 -16 jboss-seam/src/main/org/jboss/seam/security/Identity.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Identity.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/security/Identity.java,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -b -r1.109 -r1.110
--- Identity.java 19 Nov 2007 11:43:31 -0000 1.109
+++ Identity.java 21 Nov 2007 03:05:48 -0000 1.110
@@ -92,8 +92,6 @@
private List<String> preAuthenticationRoles = new ArrayList<String>();
- private boolean authenticateEveryRequest = false;
-
/**
* Flag that indicates we are in the process of authenticating
*/
@@ -115,20 +113,6 @@
securityEnabled = enabled;
}
- public boolean getAuthenticateEveryRequest()
- {
- return authenticateEveryRequest;
- }
-
- public void setAuthenticateEveryRequest(boolean authenticateEveryRequest)
- {
- this.authenticateEveryRequest = authenticateEveryRequest;
- }
-
- public void beginRequest() {}
-
- public void endRequest() {}
-
public static Identity instance()
{
if ( !Contexts.isSessionContextActive() )
1.21 +2 -1 jboss-seam/src/main/org/jboss/seam/security/RuleBasedIdentity.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: RuleBasedIdentity.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/security/RuleBasedIdentity.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- RuleBasedIdentity.java 14 Nov 2007 04:57:40 -0000 1.20
+++ RuleBasedIdentity.java 21 Nov 2007 03:05:48 -0000 1.21
@@ -203,6 +203,7 @@
if (securityContext != null)
{
getSecurityContext().insert(new Role(role));
+ getSecurityContext().fireAllRules();
return true;
}
}
More information about the jboss-cvs-commits
mailing list