taylor 2004/05/07 13:32:08
Modified: commons/src/java/org/apache/jetspeed/om/common/servlet
MutableWebApplication.java
Added: commons/src/java/org/apache/jetspeed/om/common/servlet
MutableSecurityRoleSet.java
MutableSecurityRole.java
Log:
Patch from Ate Douma to support web application security constraints
PR:
Obtained from:
Submitted by:
Reviewed by:
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS: If this change addresses a PR in the problem report tracking
CVS: database, then enter the PR number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NCSA,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to Apache by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.
Revision Changes Path
1.3 +5 -1
jakarta-jetspeed-2/commons/src/java/org/apache/jetspeed/om/common/servlet/MutableWebApplication.java
Index: MutableWebApplication.java
===================================================================
RCS file:
/home/cvs/jakarta-jetspeed-2/commons/src/java/org/apache/jetspeed/om/common/servlet/MutableWebApplication.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- MutableWebApplication.java 8 Mar 2004 00:40:08 -0000 1.2
+++ MutableWebApplication.java 7 May 2004 20:32:08 -0000 1.3
@@ -20,6 +20,7 @@
import org.apache.pluto.om.common.DescriptionSet;
import org.apache.pluto.om.common.DisplayNameSet;
+import org.apache.pluto.om.common.SecurityRole;
import org.apache.pluto.om.servlet.WebApplicationDefinition;
/**
@@ -46,4 +47,7 @@
void addDisplayName(Locale locale, String name);
void addDescription(Locale locale, String description);
+
+ void addSecurityRole(SecurityRole securityRole);
+
}
1.1
jakarta-jetspeed-2/commons/src/java/org/apache/jetspeed/om/common/servlet/MutableSecurityRoleSet.java
Index: MutableSecurityRoleSet.java
===================================================================
/*
* Copyright 2000-2004 The Apache Software Foundation.
*
* Licensed 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.om.common.servlet;
import org.apache.pluto.om.common.SecurityRole;
import org.apache.pluto.om.common.SecurityRoleSet;
/**
* MutableSecurityRoleSet
*
* @author <a href="mailto:[EMAIL PROTECTED]">Ate Douma</a>
* @version $Id: MutableSecurityRoleSet.java,v 1.1 2004/05/07 20:32:08 taylor Exp $
*
*/
public interface MutableSecurityRoleSet extends SecurityRoleSet
{
/**
* Adds a SecurityRole to the set
*
* @param securityRole the security-role to be added
*
* @return the new SecurityRole
*/
public SecurityRole add(SecurityRole securityRole);
}
1.1
jakarta-jetspeed-2/commons/src/java/org/apache/jetspeed/om/common/servlet/MutableSecurityRole.java
Index: MutableSecurityRole.java
===================================================================
/*
* Copyright 2000-2004 The Apache Software Foundation.
*
* Licensed 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.om.common.servlet;
import org.apache.pluto.om.common.SecurityRole;
/**
* MutableSecurityRole
*
* @author <a href="mailto:[EMAIL PROTECTED]">Ate Douma</a>
* @version $Id: MutableSecurityRole.java,v 1.1 2004/05/07 20:32:08 taylor Exp $
*
*/
public interface MutableSecurityRole extends SecurityRole
{
void setDescription(String description);
void setRoleName(String roleName);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]