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
|
/* ----------------------------------------------------------------------------
* 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 NameRegistration {
private long swigCPtr;
protected boolean swigCMemOwn;
protected NameRegistration(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(NameRegistration obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
lassoJNI.delete_NameRegistration(swigCPtr);
}
swigCPtr = 0;
}
public String getArtifact() {
return lassoJNI.NameRegistration_artifact_get(swigCPtr);
}
public void setArtifactMessage(String value) {
lassoJNI.NameRegistration_artifactMessage_set(swigCPtr, value);
}
public String getArtifactMessage() {
return lassoJNI.NameRegistration_artifactMessage_get(swigCPtr);
}
public void setIdentity(Identity value) {
lassoJNI.NameRegistration_identity_set(swigCPtr, Identity.getCPtr(value));
}
public Identity getIdentity() {
long cPtr = lassoJNI.NameRegistration_identity_get(swigCPtr);
return (cPtr == 0) ? null : new Identity(cPtr, false);
}
public boolean getIsIdentityDirty() {
return lassoJNI.NameRegistration_isIdentityDirty_get(swigCPtr);
}
public boolean getIsSessionDirty() {
return lassoJNI.NameRegistration_isSessionDirty_get(swigCPtr);
}
public String getMsgBody() {
return lassoJNI.NameRegistration_msgBody_get(swigCPtr);
}
public String getMsgRelayState() {
return lassoJNI.NameRegistration_msgRelayState_get(swigCPtr);
}
public String getMsgUrl() {
return lassoJNI.NameRegistration_msgUrl_get(swigCPtr);
}
public void setNameIdentifier(Node value) {
lassoJNI.NameRegistration_nameIdentifier_set(swigCPtr, Node.getCPtr(value));
}
public Node getNameIdentifier() {
long cPtr = lassoJNI.NameRegistration_nameIdentifier_get(swigCPtr);
return (cPtr == 0) ? null : (Node) lassoJNI.downcast_node(cPtr);
}
public void setRemoteProviderId(String value) {
lassoJNI.NameRegistration_remoteProviderId_set(swigCPtr, value);
}
public String getRemoteProviderId() {
return lassoJNI.NameRegistration_remoteProviderId_get(swigCPtr);
}
public void setRequest(Node value) {
lassoJNI.NameRegistration_request_set(swigCPtr, Node.getCPtr(value));
}
public Node getRequest() {
long cPtr = lassoJNI.NameRegistration_request_get(swigCPtr);
return (cPtr == 0) ? null : (Node) lassoJNI.downcast_node(cPtr);
}
public void setResponse(Node value) {
lassoJNI.NameRegistration_response_set(swigCPtr, Node.getCPtr(value));
}
public Node getResponse() {
long cPtr = lassoJNI.NameRegistration_response_get(swigCPtr);
return (cPtr == 0) ? null : (Node) lassoJNI.downcast_node(cPtr);
}
public void setServer(Server value) {
lassoJNI.NameRegistration_server_set(swigCPtr, Server.getCPtr(value));
}
public Server getServer() {
long cPtr = lassoJNI.NameRegistration_server_get(swigCPtr);
return (cPtr == 0) ? null : new Server(cPtr, false);
}
public void setSession(Session value) {
lassoJNI.NameRegistration_session_set(swigCPtr, Session.getCPtr(value));
}
public Session getSession() {
long cPtr = lassoJNI.NameRegistration_session_get(swigCPtr);
return (cPtr == 0) ? null : new Session(cPtr, false);
}
public void setOldNameIdentifier(SamlNameIdentifier value) {
lassoJNI.NameRegistration_oldNameIdentifier_set(swigCPtr, SamlNameIdentifier.getCPtr(value));
}
public SamlNameIdentifier getOldNameIdentifier() {
long cPtr = lassoJNI.NameRegistration_oldNameIdentifier_get(swigCPtr);
return (cPtr == 0) ? null : new SamlNameIdentifier(cPtr, false);
}
public NameRegistration(Server server) {
this(lassoJNI.new_NameRegistration(Server.getCPtr(server)), true);
}
public static NameRegistration newFromDump(Server server, String dump) {
long cPtr = lassoJNI.NameRegistration_newFromDump(Server.getCPtr(server), dump);
return (cPtr == 0) ? null : new NameRegistration(cPtr, true);
}
public int setIdentityFromDump(String dump) {
return lassoJNI.NameRegistration_setIdentityFromDump(swigCPtr, dump);
}
public int setSessionFromDump(String dump) {
return lassoJNI.NameRegistration_setSessionFromDump(swigCPtr, dump);
}
public int buildRequestMsg() {
return lassoJNI.NameRegistration_buildRequestMsg(swigCPtr);
}
public int buildResponseMsg() {
return lassoJNI.NameRegistration_buildResponseMsg(swigCPtr);
}
public String dump() {
return lassoJNI.NameRegistration_dump(swigCPtr);
}
public int initRequest(String remoteProviderId, int httpMethod) {
return lassoJNI.NameRegistration_initRequest(swigCPtr, remoteProviderId, httpMethod);
}
public int processRequestMsg(String requestMsg) {
return lassoJNI.NameRegistration_processRequestMsg(swigCPtr, requestMsg);
}
public int processResponseMsg(String responseMsg) {
return lassoJNI.NameRegistration_processResponseMsg(swigCPtr, responseMsg);
}
public int validateRequest() {
return lassoJNI.NameRegistration_validateRequest(swigCPtr);
}
}
|