File: Samlp2AuthnRequest.java

package info (click to toggle)
lasso 0.6.5-3
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 15,328 kB
  • ctags: 25,361
  • sloc: ansic: 187,091; sh: 8,908; java: 7,434; perl: 4,258; python: 3,610; makefile: 1,202; xml: 82; php: 6
file content (195 lines) | stat: -rw-r--r-- 6,120 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 1.3.28
 *
 * Do not make changes to this file unless you know what you are doing--modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */

package com.entrouvert.lasso;

public class Samlp2AuthnRequest extends Samlp2RequestAbstract {
  protected Samlp2AuthnRequest(long cPtr, boolean cMemoryOwn) {
    super(cPtr, cMemoryOwn);
  }

  protected static long getCPtr(Samlp2AuthnRequest obj) {
    return (obj == null) ? 0 : obj.swigCPtr;
  }

  protected void finalize() {
    delete();
  }

  public void delete() {
  super.delete();
}

  public void setForceAuthn(boolean value) {
    lassoJNI.Samlp2AuthnRequest_forceAuthn_set(swigCPtr, value);
  }

  public boolean getForceAuthn() {
    return lassoJNI.Samlp2AuthnRequest_forceAuthn_get(swigCPtr);
  }

  public void setIsPassive(boolean value) {
    lassoJNI.Samlp2AuthnRequest_isPassive_set(swigCPtr, value);
  }

  public boolean getIsPassive() {
    return lassoJNI.Samlp2AuthnRequest_isPassive_get(swigCPtr);
  }

  public void setProtocolBinding(String value) {
    lassoJNI.Samlp2AuthnRequest_ProtocolBinding_set(swigCPtr, value);
  }

  public String getProtocolBinding() {
    return lassoJNI.Samlp2AuthnRequest_ProtocolBinding_get(swigCPtr);
  }

  public void setAssertionConsumerServiceIndex(int value) {
    lassoJNI.Samlp2AuthnRequest_assertionConsumerServiceIndex_set(swigCPtr, value);
  }

  public int getAssertionConsumerServiceIndex() {
    return lassoJNI.Samlp2AuthnRequest_assertionConsumerServiceIndex_get(swigCPtr);
  }

  public void setAssertionConsumerServiceURL(String value) {
    lassoJNI.Samlp2AuthnRequest_AssertionConsumerServiceURL_set(swigCPtr, value);
  }

  public String getAssertionConsumerServiceURL() {
    return lassoJNI.Samlp2AuthnRequest_AssertionConsumerServiceURL_get(swigCPtr);
  }

  public void setAttributeConsumingServiceIndex(int value) {
    lassoJNI.Samlp2AuthnRequest_attributeConsumingServiceIndex_set(swigCPtr, value);
  }

  public int getAttributeConsumingServiceIndex() {
    return lassoJNI.Samlp2AuthnRequest_attributeConsumingServiceIndex_get(swigCPtr);
  }

  public void setProviderName(String value) {
    lassoJNI.Samlp2AuthnRequest_ProviderName_set(swigCPtr, value);
  }

  public String getProviderName() {
    return lassoJNI.Samlp2AuthnRequest_ProviderName_get(swigCPtr);
  }

  public void setSubject(Saml2Subject value) {
    lassoJNI.Samlp2AuthnRequest_subject_set(swigCPtr, Saml2Subject.getCPtr(value));
  }

  public Saml2Subject getSubject() {
    long cPtr = lassoJNI.Samlp2AuthnRequest_subject_get(swigCPtr);
    return (cPtr == 0) ? null : new Saml2Subject(cPtr, false);
  }

  public void setNameIDPolicy(Samlp2NameIDPolicy value) {
    lassoJNI.Samlp2AuthnRequest_nameIDPolicy_set(swigCPtr, Samlp2NameIDPolicy.getCPtr(value));
  }

  public Samlp2NameIDPolicy getNameIDPolicy() {
    long cPtr = lassoJNI.Samlp2AuthnRequest_nameIDPolicy_get(swigCPtr);
    return (cPtr == 0) ? null : new Samlp2NameIDPolicy(cPtr, false);
  }

  public void setConditions(Saml2Conditions value) {
    lassoJNI.Samlp2AuthnRequest_conditions_set(swigCPtr, Saml2Conditions.getCPtr(value));
  }

  public Saml2Conditions getConditions() {
    long cPtr = lassoJNI.Samlp2AuthnRequest_conditions_get(swigCPtr);
    return (cPtr == 0) ? null : new Saml2Conditions(cPtr, false);
  }

  public void setRequestedAuthnContext(Samlp2RequestedAuthnContext value) {
    lassoJNI.Samlp2AuthnRequest_requestedAuthnContext_set(swigCPtr, Samlp2RequestedAuthnContext.getCPtr(value));
  }

  public Samlp2RequestedAuthnContext getRequestedAuthnContext() {
    long cPtr = lassoJNI.Samlp2AuthnRequest_requestedAuthnContext_get(swigCPtr);
    return (cPtr == 0) ? null : new Samlp2RequestedAuthnContext(cPtr, false);
  }

  public void setScoping(Samlp2Scoping value) {
    lassoJNI.Samlp2AuthnRequest_scoping_set(swigCPtr, Samlp2Scoping.getCPtr(value));
  }

  public Samlp2Scoping getScoping() {
    long cPtr = lassoJNI.Samlp2AuthnRequest_scoping_get(swigCPtr);
    return (cPtr == 0) ? null : new Samlp2Scoping(cPtr, false);
  }

  public void setIssuer(Saml2NameID value) {
    lassoJNI.Samlp2AuthnRequest_issuer_set(swigCPtr, Saml2NameID.getCPtr(value));
  }

  public Saml2NameID getIssuer() {
    long cPtr = lassoJNI.Samlp2AuthnRequest_issuer_get(swigCPtr);
    return (cPtr == 0) ? null : new Saml2NameID(cPtr, false);
  }

  public void setExtensions(Samlp2Extensions value) {
    lassoJNI.Samlp2AuthnRequest_Extensions_set(swigCPtr, Samlp2Extensions.getCPtr(value));
  }

  public Samlp2Extensions getExtensions() {
    long cPtr = lassoJNI.Samlp2AuthnRequest_Extensions_get(swigCPtr);
    return (cPtr == 0) ? null : new Samlp2Extensions(cPtr, false);
  }

  public void setID(String value) {
    lassoJNI.Samlp2AuthnRequest_ID_set(swigCPtr, value);
  }

  public String getID() {
    return lassoJNI.Samlp2AuthnRequest_ID_get(swigCPtr);
  }

  public void setVersion(String value) {
    lassoJNI.Samlp2AuthnRequest_Version_set(swigCPtr, value);
  }

  public String getVersion() {
    return lassoJNI.Samlp2AuthnRequest_Version_get(swigCPtr);
  }

  public void setIssueInstant(String value) {
    lassoJNI.Samlp2AuthnRequest_issueInstant_set(swigCPtr, value);
  }

  public String getIssueInstant() {
    return lassoJNI.Samlp2AuthnRequest_issueInstant_get(swigCPtr);
  }

  public void setDestination(String value) {
    lassoJNI.Samlp2AuthnRequest_Destination_set(swigCPtr, value);
  }

  public String getDestination() {
    return lassoJNI.Samlp2AuthnRequest_Destination_get(swigCPtr);
  }

  public void setConsent(String value) {
    lassoJNI.Samlp2AuthnRequest_Consent_set(swigCPtr, value);
  }

  public String getConsent() {
    return lassoJNI.Samlp2AuthnRequest_Consent_get(swigCPtr);
  }

  public Samlp2AuthnRequest() {
    this(lassoJNI.new_Samlp2AuthnRequest(), true);
  }

  public String dump() {
    return lassoJNI.Samlp2AuthnRequest_dump(swigCPtr);
  }

}