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

« back to all changes in this revision

Viewing changes to java/Provider.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_Provider(swigCPtr);
34
34
  }
35
35
 
36
36
  public void setCaCertChain(String value) {
37
 
    lassoJNI.Provider_caCertChain_set(swigCPtr, value);
 
37
    lassoJNI.Provider_caCertChain_set(swigCPtr, this, value);
38
38
  }
39
39
 
40
40
  public String getCaCertChain() {
41
 
    return lassoJNI.Provider_caCertChain_get(swigCPtr);
 
41
    return lassoJNI.Provider_caCertChain_get(swigCPtr, this);
42
42
  }
43
43
 
44
44
  public void setMetadataFilename(String value) {
45
 
    lassoJNI.Provider_metadataFilename_set(swigCPtr, value);
 
45
    lassoJNI.Provider_metadataFilename_set(swigCPtr, this, value);
46
46
  }
47
47
 
48
48
  public String getMetadataFilename() {
49
 
    return lassoJNI.Provider_metadataFilename_get(swigCPtr);
 
49
    return lassoJNI.Provider_metadataFilename_get(swigCPtr, this);
50
50
  }
51
51
 
52
52
  public void setProviderId(String value) {
53
 
    lassoJNI.Provider_providerId_set(swigCPtr, value);
 
53
    lassoJNI.Provider_providerId_set(swigCPtr, this, value);
54
54
  }
55
55
 
56
56
  public String getProviderId() {
57
 
    return lassoJNI.Provider_providerId_get(swigCPtr);
 
57
    return lassoJNI.Provider_providerId_get(swigCPtr, this);
58
58
  }
59
59
 
60
60
  public void setPublicKey(String value) {
61
 
    lassoJNI.Provider_publicKey_set(swigCPtr, value);
 
61
    lassoJNI.Provider_publicKey_set(swigCPtr, this, value);
62
62
  }
63
63
 
64
64
  public String getPublicKey() {
65
 
    return lassoJNI.Provider_publicKey_get(swigCPtr);
 
65
    return lassoJNI.Provider_publicKey_get(swigCPtr, this);
66
66
  }
67
67
 
68
68
  public void setRole(int value) {
69
 
    lassoJNI.Provider_role_set(swigCPtr, value);
 
69
    lassoJNI.Provider_role_set(swigCPtr, this, value);
70
70
  }
71
71
 
72
72
  public int getRole() {
73
 
    return lassoJNI.Provider_role_get(swigCPtr);
 
73
    return lassoJNI.Provider_role_get(swigCPtr, this);
74
74
  }
75
75
 
76
76
  public Provider(int role, String metadata, String public_key, String ca_cert_chain) {
83
83
  }
84
84
 
85
85
  public String dump() {
86
 
    return lassoJNI.Provider_dump(swigCPtr);
 
86
    return lassoJNI.Provider_dump(swigCPtr, this);
87
87
  }
88
88
 
89
89
  public boolean acceptHttpMethod(Provider remote_provider, int protocol_type, int http_method, boolean initiate_profile) {
90
 
    return lassoJNI.Provider_acceptHttpMethod(swigCPtr, Provider.getCPtr(remote_provider), protocol_type, http_method, initiate_profile);
 
90
    return lassoJNI.Provider_acceptHttpMethod(swigCPtr, this, Provider.getCPtr(remote_provider), remote_provider, protocol_type, http_method, initiate_profile);
91
91
  }
92
92
 
93
93
  public String getAssertionConsumerServiceUrl(String service_id) {
94
 
    return lassoJNI.Provider_getAssertionConsumerServiceUrl(swigCPtr, service_id);
 
94
    return lassoJNI.Provider_getAssertionConsumerServiceUrl(swigCPtr, this, service_id);
95
95
  }
96
96
 
97
97
  public String getBase64SuccinctId() {
98
 
    return lassoJNI.Provider_getBase64SuccinctId(swigCPtr);
 
98
    return lassoJNI.Provider_getBase64SuccinctId(swigCPtr, this);
99
99
  }
100
100
 
101
101
  public String getOrganization() {
102
 
    return lassoJNI.Provider_getOrganization(swigCPtr);
 
102
    return lassoJNI.Provider_getOrganization(swigCPtr, this);
103
103
  }
104
104
 
105
105
  public int getFirstHttpMethod(Provider remote_provider, int protocol_type) {
106
 
    return lassoJNI.Provider_getFirstHttpMethod(swigCPtr, Provider.getCPtr(remote_provider), protocol_type);
 
106
    return lassoJNI.Provider_getFirstHttpMethod(swigCPtr, this, Provider.getCPtr(remote_provider), remote_provider, protocol_type);
107
107
  }
108
108
 
109
109
  public String getMetadataOne(String name) {
110
 
    return lassoJNI.Provider_getMetadataOne(swigCPtr, name);
 
110
    return lassoJNI.Provider_getMetadataOne(swigCPtr, this, name);
111
111
  }
112
112
 
113
113
  public boolean hasProtocolProfile(int protocol_type, String protocol_profile) {
114
 
    return lassoJNI.Provider_hasProtocolProfile(swigCPtr, protocol_type, protocol_profile);
 
114
    return lassoJNI.Provider_hasProtocolProfile(swigCPtr, this, protocol_type, protocol_profile);
115
115
  }
116
116
 
117
117
  public int getProtocolConformance() {
118
 
    return lassoJNI.Provider_getProtocolConformance(swigCPtr);
 
118
    return lassoJNI.Provider_getProtocolConformance(swigCPtr, this);
 
119
  }
 
120
 
 
121
  public void setEncryptionMode(int encryption_mode) {
 
122
    lassoJNI.Provider_setEncryptionMode(swigCPtr, this, encryption_mode);
 
123
  }
 
124
 
 
125
  public void setEncryptionSymKeyType(int encryption_sym_key_type) {
 
126
    lassoJNI.Provider_setEncryptionSymKeyType(swigCPtr, this, encryption_sym_key_type);
119
127
  }
120
128
 
121
129
}