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 dl...@apache.org on 2004/04/25 18:34:46 UTC
cvs commit: jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/pipeline/valve UserInfoValve.java
dlestrat 2004/04/25 09:34:46
Added: portal/src/java/org/apache/jetspeed/pipeline/valve
UserInfoValve.java
Log:
This is a start at implementing PLT.17.2 Accessing User Attributes.
Revision Changes Path
1.1 jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/pipeline/valve/UserInfoValve.java
Index: UserInfoValve.java
===================================================================
/* Copyright 2004 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.pipeline.valve;
/**
* <p>From the Portlet specs: PLT.17.2 Accessing User Attributes.</p>
* <p>Portlets can obtain an unmodifiable Map object containing the user attributes,
* of user associated with the current request, from the request attributes.
* The Map object can be retrieved using the USER_INFO constant defined in the
* PortletRequest interface. If the request is done in the context of an
* un-authenticated user, calls to the getAttribute method of the request
* using the USER_INFO constant must return null. If the user is
* authenticated and there are no user attributes available, the Map must
* be an empty Map.
* The Map object must contain a String name value pair for each available user
* attribute.
* The Map object should only contain user attributes that have been mapped
* during deployment.</p>
*
* @author <a href="dlestrat@apache.org">David Le Strat</a>
*/
public interface UserInfoValve extends Valve
{
}
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org