~ubuntu-branches/ubuntu/edgy/lasso/edgy

« back to all changes in this revision

Viewing changes to java/LibAuthnResponse.java

  • Committer: Bazaar Package Importer
  • Author(s): Stephan Hermann
  • Date: 2005-09-16 02:16:49 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050916021649-lr5tuka6pfmmks44
Tags: 0.6.2-3ubuntu1
* debian/control: removed hardcoded php dependency, added php:Depends
  substvar
* debian/rules: added phpapiver, added substitution of php:Depends

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
package com.entrouvert.lasso;
 
10
 
 
11
public class LibAuthnResponse extends SamlpResponse {
 
12
  protected LibAuthnResponse(long cPtr, boolean cMemoryOwn) {
 
13
    super(cPtr, cMemoryOwn);
 
14
  }
 
15
 
 
16
  protected static long getCPtr(LibAuthnResponse obj) {
 
17
    return (obj == null) ? 0 : obj.swigCPtr;
 
18
  }
 
19
 
 
20
  protected LibAuthnResponse() {
 
21
    this(0, false);
 
22
  }
 
23
 
 
24
  protected void finalize() {
 
25
    delete();
 
26
  }
 
27
 
 
28
  public void delete() {
 
29
  super.delete();
 
30
}
 
31
 
 
32
  public void setConsent(String consent) {
 
33
    lassoJNI.set_LibAuthnResponse_consent(swigCPtr, consent);
 
34
  }
 
35
 
 
36
  public String getConsent() {
 
37
    return lassoJNI.get_LibAuthnResponse_consent(swigCPtr);
 
38
  }
 
39
 
 
40
  public void setProviderId(String ProviderID) {
 
41
    lassoJNI.set_LibAuthnResponse_providerId(swigCPtr, ProviderID);
 
42
  }
 
43
 
 
44
  public String getProviderId() {
 
45
    return lassoJNI.get_LibAuthnResponse_providerId(swigCPtr);
 
46
  }
 
47
 
 
48
  public void setRelayState(String RelayState) {
 
49
    lassoJNI.set_LibAuthnResponse_relayState(swigCPtr, RelayState);
 
50
  }
 
51
 
 
52
  public String getRelayState() {
 
53
    return lassoJNI.get_LibAuthnResponse_relayState(swigCPtr);
 
54
  }
 
55
 
 
56
  public void setExtension(StringList Extension) {
 
57
    lassoJNI.set_LibAuthnResponse_extension(swigCPtr, StringList.getCPtr(Extension));
 
58
  }
 
59
 
 
60
  public StringList getExtension() {
 
61
    long cPtr = lassoJNI.get_LibAuthnResponse_extension(swigCPtr);
 
62
    return (cPtr == 0) ? null : new StringList(cPtr, false);
 
63
  }
 
64
 
 
65
  public void setStatus(SamlpStatus Status) {
 
66
    lassoJNI.set_LibAuthnResponse_status(swigCPtr, SamlpStatus.getCPtr(Status));
 
67
  }
 
68
 
 
69
  public SamlpStatus getStatus() {
 
70
    long cPtr = lassoJNI.get_LibAuthnResponse_status(swigCPtr);
 
71
    return (cPtr == 0) ? null : new SamlpStatus(cPtr, false);
 
72
  }
 
73
 
 
74
  public LibAuthnResponse(String providerID, LibAuthnRequest request) {
 
75
    this(lassoJNI.new_LibAuthnResponse(providerID, LibAuthnRequest.getCPtr(request)), true);
 
76
  }
 
77
 
 
78
  public String dump() {
 
79
    return lassoJNI.LibAuthnResponse_dump(swigCPtr);
 
80
  }
 
81
 
 
82
}