Author: bdaw
Date: 2008-09-10 12:04:34 -0400 (Wed, 10 Sep 2008)
New Revision: 71
Added:
trunk/identity-spi/src/main/java/org/jboss/identity/spi/attribute/
Removed:
trunk/identity-model/src/main/java/org/jboss/identity/model/attribute/
Modified:
trunk/identity-impl/src/main/java/org/jboss/identity/impl/types/SimpleGroup.java
trunk/identity-model/src/main/java/org/jboss/identity/model/core/IdentityObjectAttribute.java
trunk/identity-spi/src/main/java/org/jboss/identity/spi/attribute/PasswordAttribute.java
Log:
- more cleanups
Modified:
trunk/identity-impl/src/main/java/org/jboss/identity/impl/types/SimpleGroup.java
===================================================================
---
trunk/identity-impl/src/main/java/org/jboss/identity/impl/types/SimpleGroup.java 2008-09-10
15:31:49 UTC (rev 70)
+++
trunk/identity-impl/src/main/java/org/jboss/identity/impl/types/SimpleGroup.java 2008-09-10
16:04:34 UTC (rev 71)
@@ -23,8 +23,6 @@
import java.util.List;
-import org.jboss.identity.model.core.IdentityObjectAttribute;
-import org.jboss.identity.model.core.IdentityObjectType;
import org.jboss.identity.api.Group;
import org.jboss.identity.api.GroupType;
import org.jboss.identity.api.IdentityAttribute;
Modified:
trunk/identity-model/src/main/java/org/jboss/identity/model/core/IdentityObjectAttribute.java
===================================================================
---
trunk/identity-model/src/main/java/org/jboss/identity/model/core/IdentityObjectAttribute.java 2008-09-10
15:31:49 UTC (rev 70)
+++
trunk/identity-model/src/main/java/org/jboss/identity/model/core/IdentityObjectAttribute.java 2008-09-10
16:04:34 UTC (rev 71)
@@ -31,16 +31,4 @@
public interface IdentityObjectAttribute
{
- /**
- *
- * @return
- */
- String getName();
-
- /**
- *
- * @return
- */
- Set<String> getValues();
-
}
\ No newline at end of file
Copied: trunk/identity-spi/src/main/java/org/jboss/identity/spi/attribute (from rev 67,
trunk/identity-model/src/main/java/org/jboss/identity/model/attribute)
Modified:
trunk/identity-spi/src/main/java/org/jboss/identity/spi/attribute/PasswordAttribute.java
===================================================================
---
trunk/identity-model/src/main/java/org/jboss/identity/model/attribute/PasswordAttribute.java 2008-09-10
11:33:01 UTC (rev 67)
+++
trunk/identity-spi/src/main/java/org/jboss/identity/spi/attribute/PasswordAttribute.java 2008-09-10
16:04:34 UTC (rev 71)
@@ -1,68 +1,72 @@
-///*
-// * JBoss, Home of Professional Open Source.
-// * Copyright 2008, Red Hat Middleware LLC, and individual contributors
-// * as indicated by the @author tags. See the copyright.txt file in the
-// * distribution for a full listing of individual contributors.
-// *
-// * This is free software; you can redistribute it and/or modify it
-// * under the terms of the GNU Lesser General Public License as
-// * published by the Free Software Foundation; either version 2.1 of
-// * the License, or (at your option) any later version.
-// *
-// * This software is distributed in the hope that it will be useful,
-// * but WITHOUT ANY WARRANTY; without even the implied warranty of
-// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// * Lesser General Public License for more details.
-// *
-// * You should have received a copy of the GNU Lesser General Public
-// * License along with this software; if not, write to the Free
-// * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-// * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
-// */
-//package org.jboss.identity.model.attribute;
-//
-//import java.util.Date;
-//
-//import org.jboss.identity.model.IdentityAttribute;
-//import org.jboss.identity.model.IdentityObjectType;
-//import org.jboss.identity.model.policy.PasswordExpirationPolicy;
-//
-///**
-// * Represents a password
-// * @author Anil.Saldhana(a)redhat.com
-// * @since Jul 13, 2008
-// */
-//public class PasswordAttribute<T extends IdentityObjectType>
-//implements IdentityAttribute
-//{
-// /**
-// * Password policy governing this attribute.
-// * A null value indicates that there is no policy.
-// */
-// protected PasswordExpirationPolicy<T> passwordPolicy;
-//
-// /**
-// * Get the date time when the password was last updated.
-// * The update can be based on password expiration.
-// */
-// protected Date lastUpdated = new Date();
-//
-// public PasswordAttribute()
-// {
-// }
-//
-// public PasswordAttribute(PasswordExpirationPolicy<T> aPasswordPolicy)
-// {
-// this.passwordPolicy = aPasswordPolicy;
-// }
-//
-// public PasswordExpirationPolicy<T> getPasswordPolicy()
-// {
-// return passwordPolicy;
-// }
-//
-// public void setPasswordPolicy(PasswordExpirationPolicy<T> passwordPolicy)
-// {
-// this.passwordPolicy = passwordPolicy;
-// }
-//}
\ No newline at end of file
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.identity.spi.attribute;
+
+import java.util.Date;
+import java.util.Set;
+
+import org.jboss.identity.model.core.IdentityObjectType;
+import org.jboss.identity.model.core.IdentityObjectType;
+import org.jboss.identity.model.core.IdentityObjectAttribute;
+import org.jboss.identity.spi.policy.PasswordExpirationPolicy;
+
+/**
+ * Represents a password
+ * @author Anil.Saldhana(a)redhat.com
+ * @since Jul 13, 2008
+ */
+public class PasswordAttribute<T extends IdentityObjectType>
+implements IdentityObjectAttribute
+{
+ /**
+ * Password policy governing this attribute.
+ * A null value indicates that there is no policy.
+ */
+ protected PasswordExpirationPolicy<T> passwordPolicy;
+
+ /**
+ * Get the date time when the password was last updated.
+ * The update can be based on password expiration.
+ */
+ protected Date lastUpdated = new Date();
+
+ public PasswordAttribute()
+ {
+ }
+
+ public PasswordAttribute(PasswordExpirationPolicy<T> aPasswordPolicy)
+ {
+ this.passwordPolicy = aPasswordPolicy;
+ }
+
+ public PasswordExpirationPolicy<T> getPasswordPolicy()
+ {
+ return passwordPolicy;
+ }
+
+ public void setPasswordPolicy(PasswordExpirationPolicy<T> passwordPolicy)
+ {
+ this.passwordPolicy = passwordPolicy;
+ }
+
+
+}
\ No newline at end of file