Author: shane.bryzak(a)jboss.com
Date: 2008-05-28 23:47:21 -0400 (Wed, 28 May 2008)
New Revision: 8305
Modified:
trunk/src/main/org/jboss/seam/security-2.1.xsd
trunk/src/main/org/jboss/seam/security/Identity.java
trunk/src/main/org/jboss/seam/security/management/IdentityStore.java
Log:
minor, cleanup
Modified: trunk/src/main/org/jboss/seam/security/Identity.java
===================================================================
--- trunk/src/main/org/jboss/seam/security/Identity.java 2008-05-29 03:29:22 UTC (rev
8304)
+++ trunk/src/main/org/jboss/seam/security/Identity.java 2008-05-29 03:47:21 UTC (rev
8305)
@@ -46,6 +46,9 @@
@Startup
public class Identity implements Serializable
{
+ private static final long serialVersionUID = 3751659008033189259L;
+
+ // Event keys
public static final String EVENT_LOGIN_SUCCESSFUL =
"org.jboss.seam.security.loginSuccessful";
public static final String EVENT_LOGIN_FAILED =
"org.jboss.seam.security.loginFailed";
public static final String EVENT_NOT_LOGGED_IN =
"org.jboss.seam.security.notLoggedIn";
@@ -60,11 +63,10 @@
public static final String ROLES_GROUP = "Roles";
+ // Context variables
private static final String LOGIN_TRIED =
"org.jboss.seam.security.loginTried";
private static final String SILENT_LOGIN =
"org.jboss.seam.security.silentLogin";
- private static final long serialVersionUID = 3751659008033189259L;
-
private static final LogProvider log = Logging.getLogProvider(Identity.class);
private Credentials credentials;
Modified: trunk/src/main/org/jboss/seam/security/management/IdentityStore.java
===================================================================
--- trunk/src/main/org/jboss/seam/security/management/IdentityStore.java 2008-05-29
03:29:22 UTC (rev 8304)
+++ trunk/src/main/org/jboss/seam/security/management/IdentityStore.java 2008-05-29
03:47:21 UTC (rev 8305)
@@ -1,7 +1,5 @@
package org.jboss.seam.security.management;
-import java.util.Arrays;
-import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
Modified: trunk/src/main/org/jboss/seam/security-2.1.xsd
===================================================================
--- trunk/src/main/org/jboss/seam/security-2.1.xsd 2008-05-29 03:29:22 UTC (rev 8304)
+++ trunk/src/main/org/jboss/seam/security-2.1.xsd 2008-05-29 03:47:21 UTC (rev 8305)
@@ -66,6 +66,7 @@
<xs:attribute name="entity-manager"
type="components:string"/>
<xs:attribute name="user-class"
type="components:string"/>
<xs:attribute name="role-class"
type="components:string"/>
+ <xs:attribute name="features"
type="components:string"/>
</xs:attributeGroup>
<xs:attributeGroup name="attlist.ldap-identity-store">