Author: bdaw
Date: 2008-09-10 07:30:46 -0400 (Wed, 10 Sep 2008)
New Revision: 66
Added:
trunk/identity-api/src/main/java/org/jboss/identity/api/Group.java
trunk/identity-api/src/main/java/org/jboss/identity/api/GroupType.java
trunk/identity-api/src/main/java/org/jboss/identity/api/Identity.java
Removed:
trunk/identity-model/src/main/java/org/jboss/identity/model/IdentityObject.java
trunk/identity-model/src/main/java/org/jboss/identity/model/IdentityObjectType.java
trunk/identity-model/src/main/java/org/jboss/identity/model/groups/Group.java
trunk/identity-model/src/main/java/org/jboss/identity/model/groups/GroupType.java
Log:
Cleanups after partial commit
Copied: trunk/identity-api/src/main/java/org/jboss/identity/api/Group.java (from rev 63,
trunk/identity-model/src/main/java/org/jboss/identity/model/groups/Group.java)
===================================================================
--- trunk/identity-api/src/main/java/org/jboss/identity/api/Group.java
(rev 0)
+++ trunk/identity-api/src/main/java/org/jboss/identity/api/Group.java 2008-09-10 11:30:46
UTC (rev 66)
@@ -0,0 +1,55 @@
+/*
+ * 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.api;
+
+import org.jboss.identity.api.GroupType;
+
+
+/**
+ * Represents a Group
+ * @author Anil.Saldhana(a)redhat.com
+ * @author <a href="mailto:boleslaw.dawidowicz at redhat.com">Boleslaw
Dawidowicz</a>
+ * @since Jul 9, 2008
+ */
+public interface Group extends IdentityType
+{
+
+ /**
+ * @return group display name
+ */
+ String getDisplayName();
+
+ /**
+ * @return description
+ */
+ String getDescription();
+
+ /**
+ * @return
+ */
+ GroupType getGroupType();
+
+
+}
\ No newline at end of file
Copied: trunk/identity-api/src/main/java/org/jboss/identity/api/GroupType.java (from rev
62, trunk/identity-model/src/main/java/org/jboss/identity/model/groups/GroupType.java)
===================================================================
--- trunk/identity-api/src/main/java/org/jboss/identity/api/GroupType.java
(rev 0)
+++ trunk/identity-api/src/main/java/org/jboss/identity/api/GroupType.java 2008-09-10
11:30:46 UTC (rev 66)
@@ -0,0 +1,38 @@
+/*
+ * 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.api;
+
+/**
+ * Type of Group
+ * @author Anil.Saldhana(a)redhat.com
+ * @author <a href="mailto:boleslaw.dawidowicz at redhat.com">Boleslaw
Dawidowicz</a>
+ * @since Jul 11, 2008
+ */
+public interface GroupType
+{
+
+ /**
+ * @return group type name
+ */
+ String getName();
+
+}
\ No newline at end of file
Copied: trunk/identity-api/src/main/java/org/jboss/identity/api/Identity.java (from rev
61, trunk/identity-model/src/main/java/org/jboss/identity/model/Identity.java)
===================================================================
--- trunk/identity-api/src/main/java/org/jboss/identity/api/Identity.java
(rev 0)
+++ trunk/identity-api/src/main/java/org/jboss/identity/api/Identity.java 2008-09-10
11:30:46 UTC (rev 66)
@@ -0,0 +1,33 @@
+/*
+ * 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.api;
+
+/**
+ * Represents an Identity
+ * @author Anil.Saldhana(a)redhat.com
+ * @author <a href="mailto:boleslaw.dawidowicz at redhat.com">Boleslaw
Dawidowicz</a>
+ * @since Jun 30, 2008
+ */
+public interface Identity extends IdentityType
+{
+
+}
\ No newline at end of file
Deleted: trunk/identity-model/src/main/java/org/jboss/identity/model/IdentityObject.java
===================================================================
---
trunk/identity-model/src/main/java/org/jboss/identity/model/IdentityObject.java 2008-09-10
11:29:05 UTC (rev 65)
+++
trunk/identity-model/src/main/java/org/jboss/identity/model/IdentityObject.java 2008-09-10
11:30:46 UTC (rev 66)
@@ -1,72 +0,0 @@
-/*
-* JBoss, a division of Red Hat
-* Copyright 2006, Red Hat Middleware, LLC, and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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;
-
-import org.jboss.identity.model.policy.PolicyValidationException;
-
-import java.util.List;
-
-/**
- * @author <a href="mailto:boleslaw dot dawidowicz at redhat anotherdot
com">Boleslaw Dawidowicz</a>
- * @author Anil.Saldhana(a)redhat.com
- * @version : 0.1 $
- */
-public interface IdentityObject
-{
-
- /**
- * @return id of this identity object
- */
- Object getId();
-
- /**
- * FQDN identifies the context of this object - realm, identity store in which it is
persisted and object id in this store
- *
- * @return full qualified domain name for this identity
- */
- String getFQDN();
-
- /**
- * <p>Return the name of the identity</p>
- * @return
- */
- String getName();
-
- /**
- * <p>Return type of this identity object</p>
- * @return
- */
- IdentityObjectType getIdentityType();
-
- /**
- * <p>Return a list of attributes</p>
- * @return
- */
- List<IdentityAttribute> getAttributes();
-
- /**
- * Validate configured Policies
- * @throws org.jboss.identity.model.policy.PolicyValidationException
- */
- void validatePolicy() throws PolicyValidationException;
-}
Deleted:
trunk/identity-model/src/main/java/org/jboss/identity/model/IdentityObjectType.java
===================================================================
---
trunk/identity-model/src/main/java/org/jboss/identity/model/IdentityObjectType.java 2008-09-10
11:29:05 UTC (rev 65)
+++
trunk/identity-model/src/main/java/org/jboss/identity/model/IdentityObjectType.java 2008-09-10
11:30:46 UTC (rev 66)
@@ -1,50 +0,0 @@
-/*
- * 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;
-
-import java.util.List;
-
-import org.jboss.identity.model.policy.RelationshipPolicy;
-
-/**
- * Marker Interface representing
- * an object of the Identity Model
- * @author Anil.Saldhana(a)redhat.com
- * @author <a href="mailto:boleslaw.dawidowicz at redhat.com">Boleslaw
Dawidowicz</a>
- * @since Jul 10, 2008
- */
-public interface IdentityObjectType
-{
- /**
- * <p>Return the name of the identity type</p>
- * @return
- */
- String getName();
-
-
- /**
- * Return a list of relationship policies
- * @return
- */
- List<RelationshipPolicy<IdentityObjectType, IdentityObjectType>>
getRelationshipPolicies();
-
-}
\ No newline at end of file
Deleted: trunk/identity-model/src/main/java/org/jboss/identity/model/groups/Group.java
===================================================================
---
trunk/identity-model/src/main/java/org/jboss/identity/model/groups/Group.java 2008-09-10
11:29:05 UTC (rev 65)
+++
trunk/identity-model/src/main/java/org/jboss/identity/model/groups/Group.java 2008-09-10
11:30:46 UTC (rev 66)
@@ -1,59 +0,0 @@
-/*
- * 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.groups;
-
-import java.util.Collection;
-import java.util.List;
-
-import org.jboss.identity.model.roles.Role;
-import org.jboss.identity.model.IdentityObject;
-import org.jboss.identity.model.policy.RelationshipPolicy;
-
-/**
- * Represents a Group
- * @author Anil.Saldhana(a)redhat.com
- * @author <a href="mailto:boleslaw.dawidowicz at redhat.com">Boleslaw
Dawidowicz</a>
- * @since Jul 9, 2008
- */
-public interface Group extends IdentityObject
-{
-
- /**
- * @return group display name
- */
- String getDisplayName();
-
- /**
- * @return description
- */
- String getDescription();
-
- /**
- * @return
- */
- GroupType getGroupType();
-
-
-}
\ No newline at end of file
Deleted:
trunk/identity-model/src/main/java/org/jboss/identity/model/groups/GroupType.java
===================================================================
---
trunk/identity-model/src/main/java/org/jboss/identity/model/groups/GroupType.java 2008-09-10
11:29:05 UTC (rev 65)
+++
trunk/identity-model/src/main/java/org/jboss/identity/model/groups/GroupType.java 2008-09-10
11:30:46 UTC (rev 66)
@@ -1,37 +0,0 @@
-/*
- * 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.groups;
-
-import org.jboss.identity.model.IdentityObjectType;
-
-/**
- * Type of Group
- * @author Anil.Saldhana(a)redhat.com
- * @author <a href="mailto:boleslaw.dawidowicz at redhat.com">Boleslaw
Dawidowicz</a>
- * @since Jul 11, 2008
- */
-public interface GroupType extends IdentityObjectType
-{
-
-
-
-}
\ No newline at end of file