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.provider;
07:
08: import org.jasig.portal.security.IOpaqueCredentials;
09:
10: /**
11: * <p>This is a provider-specific extention to the standard opaque credentials
12: * that is designed to work with the caching security context. This interface
13: * adds a method that removes a bit of the opacity of the original by providing
14: * means of retreiving a stored credential. See the warnings and caveats
15: * associated with the CacheSecurityContext provider.</p>
16: *
17: * @author Andrew Newman, newman@yale.edu
18: * @version $Revision: 34940 $
19: */
20:
21: public interface NotSoOpaqueCredentials extends IOpaqueCredentials {
22:
23: /**
24: * Returns the stored credentials as a String.
25: * @return the strored credentials.
26: */
27: public String getCredentials();
28: }
|