~ubuntu-branches/ubuntu/jaunty/lasso/jaunty

« back to all changes in this revision

Viewing changes to csharp/NameIdentifierMapping.cs

  • Committer: Bazaar Package Importer
  • Author(s): Loic Pefferkorn
  • Date: 2005-11-25 19:20:59 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051125192059-m4894lhpynmkrmwr
Tags: 0.6.3-4ubuntu1
Resynchronise with Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* ----------------------------------------------------------------------------
2
 
 * This file was automatically generated by SWIG (http://www.swig.org).
3
 
 * Version 1.3.24
4
 
 *
5
 
 * Do not make changes to this file unless you know what you are doing--modify
6
 
 * the SWIG interface file instead.
7
 
 * ----------------------------------------------------------------------------- */
8
 
 
9
 
namespace lasso {
10
 
 
11
 
using System;
12
 
 
13
 
public class NameIdentifierMapping : IDisposable {
14
 
  private IntPtr swigCPtr;
15
 
  protected bool swigCMemOwn;
16
 
 
17
 
  internal NameIdentifierMapping(IntPtr cPtr, bool cMemoryOwn) {
18
 
    swigCMemOwn = cMemoryOwn;
19
 
    swigCPtr = cPtr;
20
 
  }
21
 
 
22
 
  internal static IntPtr getCPtr(NameIdentifierMapping obj) {
23
 
    return (obj == null) ? IntPtr.Zero : obj.swigCPtr;
24
 
  }
25
 
 
26
 
  protected NameIdentifierMapping() : this(IntPtr.Zero, false) {
27
 
  }
28
 
 
29
 
  ~NameIdentifierMapping() {
30
 
    Dispose();
31
 
  }
32
 
 
33
 
  public virtual void Dispose() {
34
 
    if(swigCPtr != IntPtr.Zero && swigCMemOwn) {
35
 
      swigCMemOwn = false;
36
 
      lassoPINVOKE.delete_NameIdentifierMapping(swigCPtr);
37
 
    }
38
 
    swigCPtr = IntPtr.Zero;
39
 
    GC.SuppressFinalize(this);
40
 
  }
41
 
 
42
 
  public string targetNameIdentifier {
43
 
    get {
44
 
      return lassoPINVOKE.get_NameIdentifierMapping_targetNameIdentifier(swigCPtr);
45
 
    } 
46
 
  }
47
 
 
48
 
  public Identity identity {
49
 
    set {
50
 
      lassoPINVOKE.set_NameIdentifierMapping_identity(swigCPtr, Identity.getCPtr(value));
51
 
    } 
52
 
    get {
53
 
      IntPtr cPtr = lassoPINVOKE.get_NameIdentifierMapping_identity(swigCPtr);
54
 
      return (cPtr == IntPtr.Zero) ? null : new Identity(cPtr, false);
55
 
    } 
56
 
  }
57
 
 
58
 
  public bool isIdentityDirty {
59
 
    get {
60
 
      return lassoPINVOKE.get_NameIdentifierMapping_isIdentityDirty(swigCPtr);
61
 
    } 
62
 
  }
63
 
 
64
 
  public bool isSessionDirty {
65
 
    get {
66
 
      return lassoPINVOKE.get_NameIdentifierMapping_isSessionDirty(swigCPtr);
67
 
    } 
68
 
  }
69
 
 
70
 
  public string msgBody {
71
 
    get {
72
 
      return lassoPINVOKE.get_NameIdentifierMapping_msgBody(swigCPtr);
73
 
    } 
74
 
  }
75
 
 
76
 
  public string msgUrl {
77
 
    get {
78
 
      return lassoPINVOKE.get_NameIdentifierMapping_msgUrl(swigCPtr);
79
 
    } 
80
 
  }
81
 
 
82
 
  public SamlNameIdentifier nameIdentifier {
83
 
    set {
84
 
      lassoPINVOKE.set_NameIdentifierMapping_nameIdentifier(swigCPtr, SamlNameIdentifier.getCPtr(value));
85
 
    } 
86
 
    get {
87
 
      IntPtr cPtr = lassoPINVOKE.get_NameIdentifierMapping_nameIdentifier(swigCPtr);
88
 
      return (cPtr == IntPtr.Zero) ? null : new SamlNameIdentifier(cPtr, false);
89
 
    } 
90
 
  }
91
 
 
92
 
  public string remoteProviderId {
93
 
    set {
94
 
      lassoPINVOKE.set_NameIdentifierMapping_remoteProviderId(swigCPtr, value);
95
 
    } 
96
 
    get {
97
 
      return lassoPINVOKE.get_NameIdentifierMapping_remoteProviderId(swigCPtr);
98
 
    } 
99
 
  }
100
 
 
101
 
  public SamlpRequestAbstract request {
102
 
    set {
103
 
      lassoPINVOKE.set_NameIdentifierMapping_request(swigCPtr, SamlpRequestAbstract.getCPtr(value));
104
 
    } 
105
 
    get {
106
 
      IntPtr cPtr = lassoPINVOKE.get_NameIdentifierMapping_request(swigCPtr);
107
 
      return (cPtr == IntPtr.Zero) ? null : new SamlpRequestAbstract(cPtr, false);
108
 
    } 
109
 
  }
110
 
 
111
 
  public SamlpResponseAbstract response {
112
 
    set {
113
 
      lassoPINVOKE.set_NameIdentifierMapping_response(swigCPtr, SamlpResponseAbstract.getCPtr(value));
114
 
    } 
115
 
    get {
116
 
      IntPtr cPtr = lassoPINVOKE.get_NameIdentifierMapping_response(swigCPtr);
117
 
      return (cPtr == IntPtr.Zero) ? null : new SamlpResponseAbstract(cPtr, false);
118
 
    } 
119
 
  }
120
 
 
121
 
  public Server server {
122
 
    set {
123
 
      lassoPINVOKE.set_NameIdentifierMapping_server(swigCPtr, Server.getCPtr(value));
124
 
    } 
125
 
    get {
126
 
      IntPtr cPtr = lassoPINVOKE.get_NameIdentifierMapping_server(swigCPtr);
127
 
      return (cPtr == IntPtr.Zero) ? null : new Server(cPtr, false);
128
 
    } 
129
 
  }
130
 
 
131
 
  public Session session {
132
 
    set {
133
 
      lassoPINVOKE.set_NameIdentifierMapping_session(swigCPtr, Session.getCPtr(value));
134
 
    } 
135
 
    get {
136
 
      IntPtr cPtr = lassoPINVOKE.get_NameIdentifierMapping_session(swigCPtr);
137
 
      return (cPtr == IntPtr.Zero) ? null : new Session(cPtr, false);
138
 
    } 
139
 
  }
140
 
 
141
 
  public NameIdentifierMapping(Server server) : this(lassoPINVOKE.new_NameIdentifierMapping(Server.getCPtr(server)), true) {
142
 
  }
143
 
 
144
 
  public int setIdentityFromDump(string dump) {
145
 
    return lassoPINVOKE.NameIdentifierMapping_setIdentityFromDump(swigCPtr, dump);
146
 
  }
147
 
 
148
 
  public int setSessionFromDump(string dump) {
149
 
    return lassoPINVOKE.NameIdentifierMapping_setSessionFromDump(swigCPtr, dump);
150
 
  }
151
 
 
152
 
  public int buildRequestMsg() {
153
 
    return lassoPINVOKE.NameIdentifierMapping_buildRequestMsg(swigCPtr);
154
 
  }
155
 
 
156
 
  public int buildResponseMsg() {
157
 
    return lassoPINVOKE.NameIdentifierMapping_buildResponseMsg(swigCPtr);
158
 
  }
159
 
 
160
 
  public int initRequest(string targetNamespace, string remoteProviderId) {
161
 
    return lassoPINVOKE.NameIdentifierMapping_initRequest(swigCPtr, targetNamespace, remoteProviderId);
162
 
  }
163
 
 
164
 
  public int processRequestMsg(string requestMsg) {
165
 
    return lassoPINVOKE.NameIdentifierMapping_processRequestMsg(swigCPtr, requestMsg);
166
 
  }
167
 
 
168
 
  public int processResponseMsg(string responseMsg) {
169
 
    return lassoPINVOKE.NameIdentifierMapping_processResponseMsg(swigCPtr, responseMsg);
170
 
  }
171
 
 
172
 
  public int validateRequest() {
173
 
    return lassoPINVOKE.NameIdentifierMapping_validateRequest(swigCPtr);
174
 
  }
175
 
 
176
 
}
177
 
 
178
 
}