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 vk...@apache.org on 2008/09/10 18:00:40 UTC
svn commit: r693875 -
/portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/SecurityAttributeTypesImpl.java
Author: vkumar
Date: Wed Sep 10 09:00:39 2008
New Revision: 693875
URL: http://svn.apache.org/viewvc?rev=693875&view=rev
Log:
Adding to SVN
Added:
portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/SecurityAttributeTypesImpl.java (with props)
Added: portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/SecurityAttributeTypesImpl.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/SecurityAttributeTypesImpl.java?rev=693875&view=auto
==============================================================================
--- portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/SecurityAttributeTypesImpl.java (added)
+++ portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/SecurityAttributeTypesImpl.java Wed Sep 10 09:00:39 2008
@@ -0,0 +1,64 @@
+/*
+ * 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 java.util.HashMap;
+import java.util.Map;
+
+import org.apache.jetspeed.security.SecurityAttributeType;
+import org.apache.jetspeed.security.SecurityAttributeTypes;
+
+/**
+ * @version $Id$
+ *
+ */
+public class SecurityAttributeTypesImpl implements SecurityAttributeTypes
+{
+
+ private Map<String,SecurityAttributeType> securityAttributeTypes = new HashMap<String, SecurityAttributeType>();
+ private boolean readOnly;
+ private boolean extendable;
+
+ public SecurityAttributeTypesImpl(boolean extendable, boolean readOnly, Map<String, SecurityAttributeType> securityAttributeTypes)
+ {
+ this.extendable = extendable;
+ this.readOnly = readOnly;
+ this.securityAttributeTypes = securityAttributeTypes;
+ }
+
+ public Map<String, SecurityAttributeType> getAttributeTypeMap()
+ {
+ return securityAttributeTypes;
+ }
+
+ public Map<String, SecurityAttributeType> getAttributeTypeMap(String category)
+ {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public boolean isExtendable()
+ {
+ return extendable;
+ }
+
+ public boolean isReadOnly()
+ {
+ return readOnly;
+ }
+
+}
Propchange: portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/SecurityAttributeTypesImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/SecurityAttributeTypesImpl.java
------------------------------------------------------------------------------
svn:keywords = Id
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org