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: /**
09: * <p>A context-specific factory class interface that should be implemented
10: * by factory classes defined for each context provider. The provider's
11: * constructor should not be public to discourage it's instantiation through
12: * means other than the corresponding factory. This formalism should be
13: * followed for consistency even when the factory performs no additional
14: * value-add than instantiating the appropriate context class.</p>
15: *
16: * @author Andrew Newman, newman@yale.edu
17: * @version $Revision: 34783 $
18: */
19:
20: public interface ISecurityContextFactory {
21:
22: public ISecurityContext getSecurityContext();
23:
24: }
|