You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by at...@apache.org on 2008/09/10 12:23:47 UTC
svn commit: r693774 -
/portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/JetspeedPrincipalAssociationTypeImpl.java
Author: ate
Date: Wed Sep 10 03:23:46 2008
New Revision: 693774
URL: http://svn.apache.org/viewvc?rev=693774&view=rev
Log:
- JetspeedPrincipalAssociationType implementation
- further OJB persistence implementation
Added:
portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/JetspeedPrincipalAssociationTypeImpl.java (with props)
Added: portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/JetspeedPrincipalAssociationTypeImpl.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/JetspeedPrincipalAssociationTypeImpl.java?rev=693774&view=auto
==============================================================================
--- portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/JetspeedPrincipalAssociationTypeImpl.java (added)
+++ portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/JetspeedPrincipalAssociationTypeImpl.java Wed Sep 10 03:23:46 2008
@@ -0,0 +1,60 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.jetspeed.security.impl;
+
+import org.apache.jetspeed.security.JetspeedPrincipalAssociationType;
+import org.apache.jetspeed.security.JetspeedPrincipalType;
+
+/**
+ * @version $Id$
+ */
+public class JetspeedPrincipalAssociationTypeImpl implements JetspeedPrincipalAssociationType
+{
+ private String associationName;
+ private JetspeedPrincipalType fromType;
+ private JetspeedPrincipalType toType;
+ private boolean required;
+
+ public JetspeedPrincipalAssociationTypeImpl(String associationName, JetspeedPrincipalType fromType,
+ JetspeedPrincipalType toType, boolean required)
+ {
+ this.associationName = associationName;
+ this.fromType = fromType;
+ this.toType = toType;
+ this.required = required;
+ }
+
+ public String getAssociationName()
+ {
+ return associationName;
+ }
+
+ public JetspeedPrincipalType getFromPrincipalType()
+ {
+ return fromType;
+ }
+
+ public JetspeedPrincipalType getToPrincipalType()
+ {
+ return toType;
+ }
+
+ public boolean isRequired()
+ {
+ return required;
+ }
+}
Propchange: portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/JetspeedPrincipalAssociationTypeImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/JetspeedPrincipalAssociationTypeImpl.java
------------------------------------------------------------------------------
svn:keywords = Id
Propchange: portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/JetspeedPrincipalAssociationTypeImpl.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org