~ubuntu-branches/ubuntu/hardy/lasso/hardy

« back to all changes in this revision

Viewing changes to java/NameRegistration.java

  • Committer: Bazaar Package Importer
  • Author(s): Michael Bienia
  • Date: 2007-07-31 21:35:26 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070731213526-oc6jw5mprcd5tjyy
Tags: 2.0.0-1ubuntu1
* Merge from debian unstable. Remaining changes:
  + debian/control:
    - Modify Maintainer value to match DebianMaintainerField spec.
* debian/rules:
  + Add CC=gcc-4.2 to the configure call else configure won't find jni.h
    from libgcj8-dev.
* configure{,.ac}:
  + Add missing quotes around the value for PHP[45]_LIBS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* ----------------------------------------------------------------------------
2
2
 * This file was automatically generated by SWIG (http://www.swig.org).
3
 
 * Version 1.3.28
 
3
 * Version 1.3.31
4
4
 *
5
5
 * Do not make changes to this file unless you know what you are doing--modify
6
6
 * the SWIG interface file instead.
25
25
    delete();
26
26
  }
27
27
 
28
 
  public void delete() {
 
28
  public synchronized void delete() {
29
29
    if(swigCPtr != 0 && swigCMemOwn) {
30
30
      swigCMemOwn = false;
31
31
      lassoJNI.delete_NameRegistration(swigCPtr);
34
34
  }
35
35
 
36
36
  public String getArtifact() {
37
 
    return lassoJNI.NameRegistration_artifact_get(swigCPtr);
 
37
    return lassoJNI.NameRegistration_artifact_get(swigCPtr, this);
38
38
  }
39
39
 
40
40
  public void setArtifactMessage(String value) {
41
 
    lassoJNI.NameRegistration_artifactMessage_set(swigCPtr, value);
 
41
    lassoJNI.NameRegistration_artifactMessage_set(swigCPtr, this, value);
42
42
  }
43
43
 
44
44
  public String getArtifactMessage() {
45
 
    return lassoJNI.NameRegistration_artifactMessage_get(swigCPtr);
 
45
    return lassoJNI.NameRegistration_artifactMessage_get(swigCPtr, this);
46
46
  }
47
47
 
48
48
  public void setIdentity(Identity value) {
49
 
    lassoJNI.NameRegistration_identity_set(swigCPtr, Identity.getCPtr(value));
 
49
    lassoJNI.NameRegistration_identity_set(swigCPtr, this, Identity.getCPtr(value), value);
50
50
  }
51
51
 
52
52
  public Identity getIdentity() {
53
 
    long cPtr = lassoJNI.NameRegistration_identity_get(swigCPtr);
 
53
    long cPtr = lassoJNI.NameRegistration_identity_get(swigCPtr, this);
54
54
    return (cPtr == 0) ? null : new Identity(cPtr, false);
55
55
  }
56
56
 
57
57
  public boolean getIsIdentityDirty() {
58
 
    return lassoJNI.NameRegistration_isIdentityDirty_get(swigCPtr);
 
58
    return lassoJNI.NameRegistration_isIdentityDirty_get(swigCPtr, this);
59
59
  }
60
60
 
61
61
  public boolean getIsSessionDirty() {
62
 
    return lassoJNI.NameRegistration_isSessionDirty_get(swigCPtr);
 
62
    return lassoJNI.NameRegistration_isSessionDirty_get(swigCPtr, this);
63
63
  }
64
64
 
65
65
  public String getMsgBody() {
66
 
    return lassoJNI.NameRegistration_msgBody_get(swigCPtr);
 
66
    return lassoJNI.NameRegistration_msgBody_get(swigCPtr, this);
67
67
  }
68
68
 
69
69
  public String getMsgRelayState() {
70
 
    return lassoJNI.NameRegistration_msgRelayState_get(swigCPtr);
 
70
    return lassoJNI.NameRegistration_msgRelayState_get(swigCPtr, this);
71
71
  }
72
72
 
73
73
  public String getMsgUrl() {
74
 
    return lassoJNI.NameRegistration_msgUrl_get(swigCPtr);
 
74
    return lassoJNI.NameRegistration_msgUrl_get(swigCPtr, this);
75
75
  }
76
76
 
77
77
  public void setNameIdentifier(Node value) {
78
 
    lassoJNI.NameRegistration_nameIdentifier_set(swigCPtr, Node.getCPtr(value));
 
78
    lassoJNI.NameRegistration_nameIdentifier_set(swigCPtr, this, Node.getCPtr(value), value);
79
79
  }
80
80
 
81
81
  public Node getNameIdentifier() {
82
 
        long cPtr = lassoJNI.NameRegistration_nameIdentifier_get(swigCPtr);
83
 
        return (cPtr == 0) ? null : (Node) lassoJNI.downcast_node(cPtr);
 
82
        long cPtr = lassoJNI.NameRegistration_nameIdentifier_get(swigCPtr, this);
 
83
        return (cPtr == 0) ? null : (Node) lassoJNI.downcast_node(cPtr, null);
84
84
}
85
85
 
86
86
  public void setRemoteProviderId(String value) {
87
 
    lassoJNI.NameRegistration_remoteProviderId_set(swigCPtr, value);
 
87
    lassoJNI.NameRegistration_remoteProviderId_set(swigCPtr, this, value);
88
88
  }
89
89
 
90
90
  public String getRemoteProviderId() {
91
 
    return lassoJNI.NameRegistration_remoteProviderId_get(swigCPtr);
 
91
    return lassoJNI.NameRegistration_remoteProviderId_get(swigCPtr, this);
92
92
  }
93
93
 
94
94
  public void setRequest(Node value) {
95
 
    lassoJNI.NameRegistration_request_set(swigCPtr, Node.getCPtr(value));
 
95
    lassoJNI.NameRegistration_request_set(swigCPtr, this, Node.getCPtr(value), value);
96
96
  }
97
97
 
98
98
  public Node getRequest() {
99
 
        long cPtr = lassoJNI.NameRegistration_request_get(swigCPtr);
100
 
        return (cPtr == 0) ? null : (Node) lassoJNI.downcast_node(cPtr);
 
99
        long cPtr = lassoJNI.NameRegistration_request_get(swigCPtr, this);
 
100
        return (cPtr == 0) ? null : (Node) lassoJNI.downcast_node(cPtr, null);
101
101
}
102
102
 
103
103
  public void setResponse(Node value) {
104
 
    lassoJNI.NameRegistration_response_set(swigCPtr, Node.getCPtr(value));
 
104
    lassoJNI.NameRegistration_response_set(swigCPtr, this, Node.getCPtr(value), value);
105
105
  }
106
106
 
107
107
  public Node getResponse() {
108
 
        long cPtr = lassoJNI.NameRegistration_response_get(swigCPtr);
109
 
        return (cPtr == 0) ? null : (Node) lassoJNI.downcast_node(cPtr);
 
108
        long cPtr = lassoJNI.NameRegistration_response_get(swigCPtr, this);
 
109
        return (cPtr == 0) ? null : (Node) lassoJNI.downcast_node(cPtr, null);
110
110
}
111
111
 
112
112
  public void setServer(Server value) {
113
 
    lassoJNI.NameRegistration_server_set(swigCPtr, Server.getCPtr(value));
 
113
    lassoJNI.NameRegistration_server_set(swigCPtr, this, Server.getCPtr(value), value);
114
114
  }
115
115
 
116
116
  public Server getServer() {
117
 
    long cPtr = lassoJNI.NameRegistration_server_get(swigCPtr);
 
117
    long cPtr = lassoJNI.NameRegistration_server_get(swigCPtr, this);
118
118
    return (cPtr == 0) ? null : new Server(cPtr, false);
119
119
  }
120
120
 
121
121
  public void setSession(Session value) {
122
 
    lassoJNI.NameRegistration_session_set(swigCPtr, Session.getCPtr(value));
 
122
    lassoJNI.NameRegistration_session_set(swigCPtr, this, Session.getCPtr(value), value);
123
123
  }
124
124
 
125
125
  public Session getSession() {
126
 
    long cPtr = lassoJNI.NameRegistration_session_get(swigCPtr);
 
126
    long cPtr = lassoJNI.NameRegistration_session_get(swigCPtr, this);
127
127
    return (cPtr == 0) ? null : new Session(cPtr, false);
128
128
  }
129
129
 
130
130
  public void setOldNameIdentifier(SamlNameIdentifier value) {
131
 
    lassoJNI.NameRegistration_oldNameIdentifier_set(swigCPtr, SamlNameIdentifier.getCPtr(value));
 
131
    lassoJNI.NameRegistration_oldNameIdentifier_set(swigCPtr, this, SamlNameIdentifier.getCPtr(value), value);
132
132
  }
133
133
 
134
134
  public SamlNameIdentifier getOldNameIdentifier() {
135
 
    long cPtr = lassoJNI.NameRegistration_oldNameIdentifier_get(swigCPtr);
 
135
    long cPtr = lassoJNI.NameRegistration_oldNameIdentifier_get(swigCPtr, this);
136
136
    return (cPtr == 0) ? null : new SamlNameIdentifier(cPtr, false);
137
137
  }
138
138
 
139
139
  public NameRegistration(Server server) {
140
 
    this(lassoJNI.new_NameRegistration(Server.getCPtr(server)), true);
 
140
    this(lassoJNI.new_NameRegistration(Server.getCPtr(server), server), true);
141
141
  }
142
142
 
143
143
  public static NameRegistration newFromDump(Server server, String dump) {
144
 
    long cPtr = lassoJNI.NameRegistration_newFromDump(Server.getCPtr(server), dump);
 
144
    long cPtr = lassoJNI.NameRegistration_newFromDump(Server.getCPtr(server), server, dump);
145
145
    return (cPtr == 0) ? null : new NameRegistration(cPtr, true);
146
146
  }
147
147
 
148
148
  public int setIdentityFromDump(String dump) {
149
 
    return lassoJNI.NameRegistration_setIdentityFromDump(swigCPtr, dump);
 
149
    return lassoJNI.NameRegistration_setIdentityFromDump(swigCPtr, this, dump);
150
150
  }
151
151
 
152
152
  public int setSessionFromDump(String dump) {
153
 
    return lassoJNI.NameRegistration_setSessionFromDump(swigCPtr, dump);
 
153
    return lassoJNI.NameRegistration_setSessionFromDump(swigCPtr, this, dump);
154
154
  }
155
155
 
156
156
  public int buildRequestMsg() {
157
 
    return lassoJNI.NameRegistration_buildRequestMsg(swigCPtr);
 
157
    return lassoJNI.NameRegistration_buildRequestMsg(swigCPtr, this);
158
158
  }
159
159
 
160
160
  public int buildResponseMsg() {
161
 
    return lassoJNI.NameRegistration_buildResponseMsg(swigCPtr);
 
161
    return lassoJNI.NameRegistration_buildResponseMsg(swigCPtr, this);
162
162
  }
163
163
 
164
164
  public String dump() {
165
 
    return lassoJNI.NameRegistration_dump(swigCPtr);
 
165
    return lassoJNI.NameRegistration_dump(swigCPtr, this);
166
166
  }
167
167
 
168
168
  public int initRequest(String remoteProviderId, int httpMethod) {
169
 
    return lassoJNI.NameRegistration_initRequest(swigCPtr, remoteProviderId, httpMethod);
 
169
    return lassoJNI.NameRegistration_initRequest(swigCPtr, this, remoteProviderId, httpMethod);
170
170
  }
171
171
 
172
172
  public int processRequestMsg(String requestMsg) {
173
 
    return lassoJNI.NameRegistration_processRequestMsg(swigCPtr, requestMsg);
 
173
    return lassoJNI.NameRegistration_processRequestMsg(swigCPtr, this, requestMsg);
174
174
  }
175
175
 
176
176
  public int processResponseMsg(String responseMsg) {
177
 
    return lassoJNI.NameRegistration_processResponseMsg(swigCPtr, responseMsg);
 
177
    return lassoJNI.NameRegistration_processResponseMsg(swigCPtr, this, responseMsg);
178
178
  }
179
179
 
180
180
  public int validateRequest() {
181
 
    return lassoJNI.NameRegistration_validateRequest(swigCPtr);
 
181
    return lassoJNI.NameRegistration_validateRequest(swigCPtr, this);
182
182
  }
183
183
 
184
184
}