01: /* Copyright 2004 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 java.io.Serializable;
09:
10: import org.jasig.portal.security.*;
11:
12: import javax.security.auth.*;
13:
14: /**
15: * Simple container object for a JAAS Subject for the logged in user.
16: *
17: * @author Al Wold
18: * @version $Revision: 34777 $
19: *
20: */
21: public class JAASSubject implements IAdditionalDescriptor, Serializable {
22: private Subject subject;
23:
24: public JAASSubject(Subject subject) {
25: this .subject = subject;
26: }
27:
28: public Subject getSubject() {
29: return subject;
30: }
31: }
|