Author: shane.bryzak(a)jboss.com
Date: 2008-06-06 10:42:46 -0400 (Fri, 06 Jun 2008)
New Revision: 8334
Modified:
trunk/src/main/org/jboss/seam/security/management/IdentityManager.java
trunk/src/main/org/jboss/seam/security/management/JpaIdentityStore.java
trunk/src/main/org/jboss/seam/security/management/LdapIdentityStore.java
trunk/src/main/org/jboss/seam/security/management/PasswordHash.java
Log:
fixed component namespaces
Modified: trunk/src/main/org/jboss/seam/security/management/IdentityManager.java
===================================================================
--- trunk/src/main/org/jboss/seam/security/management/IdentityManager.java 2008-06-06
08:59:55 UTC (rev 8333)
+++ trunk/src/main/org/jboss/seam/security/management/IdentityManager.java 2008-06-06
14:42:46 UTC (rev 8334)
@@ -25,7 +25,7 @@
* @author Shane Bryzak
*/
@Scope(EVENT)
-(a)Name("org.jboss.seam.security.management.identityManager")
+(a)Name("org.jboss.seam.security.identityManager")
@Install(precedence = BUILT_IN)
@BypassInterceptors
public class IdentityManager implements Serializable
Modified: trunk/src/main/org/jboss/seam/security/management/JpaIdentityStore.java
===================================================================
--- trunk/src/main/org/jboss/seam/security/management/JpaIdentityStore.java 2008-06-06
08:59:55 UTC (rev 8333)
+++ trunk/src/main/org/jboss/seam/security/management/JpaIdentityStore.java 2008-06-06
14:42:46 UTC (rev 8334)
@@ -42,7 +42,7 @@
*
* @author Shane Bryzak
*/
-(a)Name("org.jboss.seam.security.management.jpaIdentityStore")
+(a)Name("org.jboss.seam.security.jpaIdentityStore")
@Install(precedence = BUILT_IN, value=false)
@Scope(APPLICATION)
@BypassInterceptors
@@ -93,6 +93,11 @@
{
if (userClass == null)
{
+
+ }
+
+ if (userClass == null)
+ {
log.debug("No userClass set, JpaIdentityStore will be unavailable.");
return;
}
@@ -570,7 +575,7 @@
private String generatePasswordHash(String password, String salt)
{
- String algorithm = ((UserPassword) userPasswordProperty.getAnnotation()).hash();
+ String algorithm = userPasswordProperty.getAnnotation().hash();
if (algorithm == null || "".equals(algorithm))
{
Modified: trunk/src/main/org/jboss/seam/security/management/LdapIdentityStore.java
===================================================================
--- trunk/src/main/org/jboss/seam/security/management/LdapIdentityStore.java 2008-06-06
08:59:55 UTC (rev 8333)
+++ trunk/src/main/org/jboss/seam/security/management/LdapIdentityStore.java 2008-06-06
14:42:46 UTC (rev 8334)
@@ -35,7 +35,7 @@
*
* @author Shane Bryzak
*/
-(a)Name("org.jboss.seam.security.management.ldapIdentityStore")
+(a)Name("org.jboss.seam.security.ldapIdentityStore")
@Install(precedence = BUILT_IN, value=false)
@Scope(APPLICATION)
@BypassInterceptors
Modified: trunk/src/main/org/jboss/seam/security/management/PasswordHash.java
===================================================================
--- trunk/src/main/org/jboss/seam/security/management/PasswordHash.java 2008-06-06
08:59:55 UTC (rev 8333)
+++ trunk/src/main/org/jboss/seam/security/management/PasswordHash.java 2008-06-06
14:42:46 UTC (rev 8334)
@@ -19,7 +19,7 @@
* @author Shane Bryzak
*/
@Scope(STATELESS)
-(a)Name("org.jboss.seam.security.management.passwordHash")
+(a)Name("org.jboss.seam.security.passwordHash")
@Install(precedence = BUILT_IN)
@BypassInterceptors
public class PasswordHash