01: /* Copyright 2001 The JA-SIG Collaborative. All rights reserved.
02: * See license distributed with this file and
03: * available online at http://www.uportal.org/license.html
04: */
05:
06: package org.jasig.portal.security;
07:
08: import javax.servlet.http.HttpServletRequest;
09:
10: /**
11: * Manages the storage of an IPerson object in a user's session.
12: * @author Bernie Durfee, bdurfee@interactivebusiness.com
13: */
14: public interface IPersonManager {
15:
16: // Can be used to store an instance of IPerson in the user's session
17: public static final String PERSON_SESSION_KEY = "org.jasig.portal.security.IPerson";
18:
19: /**
20: * Returns an IPerson associated with the incoming request
21: * @param request
22: * @return IPerson associated with the incoming request
23: */
24: public IPerson getPerson(HttpServletRequest request)
25: throws PortalSecurityException;
26: }
|