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