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/01 13:47:07 UTC

svn commit: r690943 - in /portals/jetspeed-2/portal/branches/security-refactoring: components/jetspeed-rdbms/src/main/java/org/apache/jetspeed/components/rdbms/ojb/ components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/ jetspeed-...

Author: ate
Date: Mon Sep  1 04:47:06 2008
New Revision: 690943

URL: http://svn.apache.org/viewvc?rev=690943&view=rev
Log:
First (auto created) BaseJetspeedPrincipal implementation

Added:
    portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/BaseJetspeedPrincipal.java   (with props)
Modified:
    portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-rdbms/src/main/java/org/apache/jetspeed/components/rdbms/ojb/   (props changed)
    portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/   (props changed)
    portals/jetspeed-2/portal/branches/security-refactoring/jetspeed-api/src/main/java/org/apache/jetspeed/security/JetspeedPrincipal.java

Propchange: portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-rdbms/src/main/java/org/apache/jetspeed/components/rdbms/ojb/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Mon Sep  1 04:47:06 2008
@@ -1,2 +1,2 @@
-target
+target
 surefire*.properties

Propchange: portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Mon Sep  1 04:47:06 2008
@@ -1,2 +1,2 @@
-target
+target
 surefire*.properties

Added: portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/BaseJetspeedPrincipal.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/BaseJetspeedPrincipal.java?rev=690943&view=auto
==============================================================================
--- portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/BaseJetspeedPrincipal.java (added)
+++ portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/BaseJetspeedPrincipal.java Mon Sep  1 04:47:06 2008
@@ -0,0 +1,140 @@
+/*
+ * 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.io.Serializable;
+import java.sql.Timestamp;
+
+import org.apache.jetspeed.security.JetspeedPrincipal;
+import org.apache.jetspeed.security.JetspeedPrincipalType;
+import org.apache.jetspeed.security.SecurityAttributes;
+
+/**
+ * @version $Id$
+ *
+ */
+public class BaseJetspeedPrincipal implements JetspeedPrincipal, Serializable
+{
+    private static final long serialVersionUID = 5484179899807809619L;
+
+    public Timestamp getCreationDate()
+    {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    public Long getId()
+    {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    public Timestamp getModifiedDate()
+    {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    public String getName()
+    {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    public SecurityAttributes getSecurityAttributes()
+    {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    public JetspeedPrincipalType getType()
+    {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    public boolean isEnabled()
+    {
+        // TODO Auto-generated method stub
+        return false;
+    }
+
+    public boolean isExtendable()
+    {
+        // TODO Auto-generated method stub
+        return false;
+    }
+
+    public boolean isMapped()
+    {
+        // TODO Auto-generated method stub
+        return false;
+    }
+
+    public boolean isReadOnly()
+    {
+        // TODO Auto-generated method stub
+        return false;
+    }
+
+    public boolean isRemovable()
+    {
+        // TODO Auto-generated method stub
+        return false;
+    }
+
+    public void setCreationDate(Timestamp creationDate)
+    {
+        // TODO Auto-generated method stub
+    }
+
+    public void setEnable(boolean enabled)
+    {
+        // TODO Auto-generated method stub
+    }
+
+    public void setExtendable(boolean extendable)
+    {
+        // TODO Auto-generated method stub
+    }
+
+    public void setMapped(boolean mapped)
+    {
+        // TODO Auto-generated method stub
+    }
+
+    public void setModifiedDate(Timestamp modifiedDate)
+    {
+        // TODO Auto-generated method stub
+    }
+
+    public void setName(String name)
+    {
+        // TODO Auto-generated method stub
+    }
+
+    public void setReadonly(boolean readonly)
+    {
+        // TODO Auto-generated method stub
+    }
+
+    public void setRemovable(boolean removable)
+    {
+        // TODO Auto-generated method stub
+    }
+}

Propchange: portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/BaseJetspeedPrincipal.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/BaseJetspeedPrincipal.java
------------------------------------------------------------------------------
    svn:keywords = Id

Propchange: portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/BaseJetspeedPrincipal.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: portals/jetspeed-2/portal/branches/security-refactoring/jetspeed-api/src/main/java/org/apache/jetspeed/security/JetspeedPrincipal.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/security-refactoring/jetspeed-api/src/main/java/org/apache/jetspeed/security/JetspeedPrincipal.java?rev=690943&r1=690942&r2=690943&view=diff
==============================================================================
--- portals/jetspeed-2/portal/branches/security-refactoring/jetspeed-api/src/main/java/org/apache/jetspeed/security/JetspeedPrincipal.java (original)
+++ portals/jetspeed-2/portal/branches/security-refactoring/jetspeed-api/src/main/java/org/apache/jetspeed/security/JetspeedPrincipal.java Mon Sep  1 04:47:06 2008
@@ -47,7 +47,7 @@
 
     void setMapped(boolean mapped);
 
-    boolean isReadonly(); // true if enabled may not be modified, nor mapped associations, permissions and attributes
+    boolean isReadOnly(); // true if enabled may not be modified, nor mapped associations, permissions and attributes
 
     void setReadonly(boolean readonly);
 



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org