01: /**
02: * $Id: MembershipRequest.java,v 1.6 2007/01/26 03:50:12 portalbld Exp $
03: * Copyright 2005 Sun Microsystems, Inc. All
04: * rights reserved. Use of this product is subject
05: * to license terms. Federal Acquisitions:
06: * Commercial Software -- Government Users
07: * Subject to Standard License Terms and
08: * Conditions.
09: *
10: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
11: * are trademarks or registered trademarks of Sun Microsystems,
12: * Inc. in the United States and other countries.
13: */package com.sun.portal.service;
14:
15: import javax.servlet.http.HttpServletRequest;
16: import com.sun.portal.desktop.dp.DPRoot;
17: import com.iplanet.sso.SSOToken;
18:
19: /**
20: *
21: * @author mjain
22: */
23: public class MembershipRequest {
24:
25: private String _communityPrincipalId;
26: private String _memberId;
27: private String _serviceInstanceName;
28: private HttpServletRequest _origRequest;
29: private String _role;
30: private DPRoot _dpRootForRole;
31: private SSOToken _ssoToken;
32:
33: public MembershipRequest(HttpServletRequest origRequest,
34: SSOToken ssoToken, DPRoot dpRootForRole, String role,
35: String communityPrincipalId, String serviceInstanceName,
36: String memberId) {
37:
38: _communityPrincipalId = communityPrincipalId;
39: _serviceInstanceName = serviceInstanceName;
40: _origRequest = origRequest;
41: _memberId = memberId;
42: _dpRootForRole = dpRootForRole;
43: _role = role;
44: _ssoToken = ssoToken;
45: }
46:
47: public String getCommunityPrincipalId() {
48: return _communityPrincipalId;
49: }
50:
51: public String getServiceInstanceName() {
52: return _serviceInstanceName;
53: }
54:
55: public HttpServletRequest getHttpServletRequest() {
56: return _origRequest;
57: }
58:
59: public String getMemberId() {
60: return _memberId;
61: }
62:
63: public String getRole() {
64: return _role;
65: }
66:
67: public DPRoot getDPRootForRole() {
68: return _dpRootForRole;
69: }
70:
71: public SSOToken getSSOToken() {
72: return _ssoToken;
73: }
74:
75: }
|