summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmmanuel Raviart <eraviart@entrouvert.com>2005-01-01 13:43:16 +0000
committerEmmanuel Raviart <eraviart@entrouvert.com>2005-01-01 13:43:16 +0000
commit230b4d8ebc82388bd926ce4c19630f6c7d052436 (patch)
tree2bfd0e34b15f286600a3ad32786cd3fd6ec789f4
parent6edf9797b20d45657d6c53fecb19b5355955bbfd (diff)
Changed the way %extend was used in SWIG.
-rw-r--r--swig/Lasso.i741
1 files changed, 370 insertions, 371 deletions
diff --git a/swig/Lasso.i b/swig/Lasso.i
index f014f4d0..289ea333 100644
--- a/swig/Lasso.i
+++ b/swig/Lasso.i
@@ -2156,40 +2156,38 @@ LassoStringArray *LassoIdentity_providerIds_get(LassoIdentity *self) {
%rename(Session) LassoSession;
#endif
typedef struct {
- %extend {
- /* Attributes */
+ /* Attributes */
- %immutable isDirty;
- gboolean isDirty;
+ %rename(isDirty) is_dirty;
+ %immutable is_dirty;
+ gboolean is_dirty;
+} LassoSession;
+%extend LassoSession {
+ /* Attributes */
- %immutable providerIds;
- %newobject providerIds_get;
- LassoStringArray *providerIds;
+ %immutable providerIds;
+ %newobject providerIds_get;
+ LassoStringArray *providerIds;
- /* Constructor, destructor & static methods */
+ /* Constructor, destructor & static methods */
- LassoSession();
+ LassoSession();
- ~LassoSession();
+ ~LassoSession();
- %newobject newFromDump;
- static LassoSession *newFromDump(char *dump);
+ %newobject newFromDump;
+ static LassoSession *newFromDump(char *dump);
- /* Methods */
+ /* Methods */
- %newobject dump;
- char *dump();
- }
-} LassoSession;
+ %newobject dump;
+ char *dump();
+}
%{
/* Attributes implementations */
-/* isDirty */
-#define LassoSession_get_isDirty(self) (self)->is_dirty
-#define LassoSession_isDirty_get(self) (self)->is_dirty
-
/* providerIds */
#define LassoSession_get_providerIds LassoSession_providerIds_get
LassoStringArray *LassoSession_providerIds_get(LassoSession *self) {
@@ -2407,149 +2405,149 @@ int LassoDefederation_setSessionFromDump(LassoDefederation *self, char *dump) {
%rename(Login) LassoLogin;
#endif
typedef struct {
+ // FIXME: LassoSamlAssertion *assertion;
+
%immutable assertionArtifact;
char *assertionArtifact;
%immutable protocolProfile;
LassoLoginProtocolProfile protocolProfile;
+} LassoLogin;
+%extend LassoLogin {
+ /* Attributes inherited from LassoProfile */
- %extend {
- /* Attributes inherited from LassoProfile */
-
- %immutable authnRequest;
- LassoLibAuthnRequest *authnRequest;
-
- %immutable authnResponse;
- LassoLibAuthnResponse *authnResponse;
+ %immutable authnRequest;
+ LassoLibAuthnRequest *authnRequest;
- %newobject identity_get;
- LassoIdentity *identity;
+ %immutable authnResponse;
+ LassoLibAuthnResponse *authnResponse;
- %immutable isIdentityDirty;
- gboolean isIdentityDirty;
+ %newobject identity_get;
+ LassoIdentity *identity;
- %immutable isSessionDirty;
- gboolean isSessionDirty;
+ %immutable isIdentityDirty;
+ gboolean isIdentityDirty;
- %immutable msgBody;
- char *msgBody;
+ %immutable isSessionDirty;
+ gboolean isSessionDirty;
- %immutable msgRelayState;
- char *msgRelayState;
+ %immutable msgBody;
+ char *msgBody;
- %immutable msgUrl;
- char *msgUrl;
+ %immutable msgRelayState;
+ char *msgRelayState;
- LassoSamlNameIdentifier *nameIdentifier;
+ %immutable msgUrl;
+ char *msgUrl;
- %newobject remoteProviderId_get;
- char *remoteProviderId;
+ LassoSamlNameIdentifier *nameIdentifier;
- %immutable request;
- LassoSamlpRequest *request;
+ %newobject remoteProviderId_get;
+ char *remoteProviderId;
- %immutable response;
- LassoSamlpResponse *response;
+ %immutable request;
+ LassoSamlpRequest *request;
- char *responseStatus;
+ %immutable response;
+ LassoSamlpResponse *response;
- %newobject session_get;
- LassoSession *session;
+ char *responseStatus;
- /* Constructor, Destructor & Static Methods */
+ %newobject session_get;
+ LassoSession *session;
- LassoLogin(LassoServer *server);
+ /* Constructor, Destructor & Static Methods */
- ~LassoLogin();
+ LassoLogin(LassoServer *server);
- %newobject newFromDump;
- static LassoLogin *newFromDump(LassoServer *server, char *dump);
+ ~LassoLogin();
- /* Methods inherited from LassoProfile */
+ %newobject newFromDump;
+ static LassoLogin *newFromDump(LassoServer *server, char *dump);
- THROW_ERROR
- void setIdentityFromDump(char *dump);
- END_THROW_ERROR
+ /* Methods inherited from LassoProfile */
- THROW_ERROR
- void setSessionFromDump(char *dump);
- END_THROW_ERROR
+ THROW_ERROR
+ void setIdentityFromDump(char *dump);
+ END_THROW_ERROR
- /* Methods */
+ THROW_ERROR
+ void setSessionFromDump(char *dump);
+ END_THROW_ERROR
- THROW_ERROR
- void acceptSso();
- END_THROW_ERROR
+ /* Methods */
- THROW_ERROR
- void buildArtifactMsg(LassoHttpMethod httpMethod);
- END_THROW_ERROR
+ THROW_ERROR
+ void acceptSso();
+ END_THROW_ERROR
- THROW_ERROR
- int buildAssertion(char *authenticationMethod, char *authenticationInstant,
- char *reauthenticateOnOrAfter,
- char *notBefore, char *notOnOrAfter);
- END_THROW_ERROR
+ THROW_ERROR
+ void buildArtifactMsg(LassoHttpMethod httpMethod);
+ END_THROW_ERROR
- THROW_ERROR
- void buildAuthnRequestMsg();
- END_THROW_ERROR
+ THROW_ERROR
+ int buildAssertion(char *authenticationMethod, char *authenticationInstant,
+ char *reauthenticateOnOrAfter,
+ char *notBefore, char *notOnOrAfter);
+ END_THROW_ERROR
- THROW_ERROR
- void buildAuthnResponseMsg();
- END_THROW_ERROR
+ THROW_ERROR
+ void buildAuthnRequestMsg();
+ END_THROW_ERROR
- THROW_ERROR
- void buildRequestMsg();
- END_THROW_ERROR
+ THROW_ERROR
+ void buildAuthnResponseMsg();
+ END_THROW_ERROR
- THROW_ERROR
- void buildResponseMsg(char *remoteProviderId);
- END_THROW_ERROR
+ THROW_ERROR
+ void buildRequestMsg();
+ END_THROW_ERROR
- %newobject dump;
- char *dump();
+ THROW_ERROR
+ void buildResponseMsg(char *remoteProviderId);
+ END_THROW_ERROR
- THROW_ERROR
- void initAuthnRequest(char *remoteProviderId = NULL,
- LassoHttpMethod httpMethod = LASSO_HTTP_METHOD_REDIRECT);
- END_THROW_ERROR
+ %newobject dump;
+ char *dump();
- THROW_ERROR
- void initRequest(char *responseMsg,
- LassoHttpMethod httpMethod = LASSO_HTTP_METHOD_REDIRECT);
- END_THROW_ERROR
+ THROW_ERROR
+ void initAuthnRequest(char *remoteProviderId = NULL,
+ LassoHttpMethod httpMethod = LASSO_HTTP_METHOD_REDIRECT);
+ END_THROW_ERROR
- THROW_ERROR
- void initIdpInitiatedAuthnRequest(char *remoteProviderID = NULL);
- END_THROW_ERROR
+ THROW_ERROR
+ void initRequest(char *responseMsg,
+ LassoHttpMethod httpMethod = LASSO_HTTP_METHOD_REDIRECT);
+ END_THROW_ERROR
- gboolean mustAskForConsent();
+ THROW_ERROR
+ void initIdpInitiatedAuthnRequest(char *remoteProviderID = NULL);
+ END_THROW_ERROR
- gboolean mustAuthenticate();
+ gboolean mustAskForConsent();
- THROW_ERROR
- void processAuthnRequestMsg(char *authnrequestMsg);
- END_THROW_ERROR
+ gboolean mustAuthenticate();
- THROW_ERROR
- void processAuthnResponseMsg(char *authnResponseMsg);
- END_THROW_ERROR
+ THROW_ERROR
+ void processAuthnRequestMsg(char *authnrequestMsg);
+ END_THROW_ERROR
- THROW_ERROR
- void processRequestMsg(char *requestMsg);
- END_THROW_ERROR
+ THROW_ERROR
+ void processAuthnResponseMsg(char *authnResponseMsg);
+ END_THROW_ERROR
- THROW_ERROR
- void processResponseMsg(char *responseMsg);
- END_THROW_ERROR
+ THROW_ERROR
+ void processRequestMsg(char *requestMsg);
+ END_THROW_ERROR
- THROW_ERROR
- int validateRequestMsg(gboolean authenticationResult, gboolean isConsentObtained);
- END_THROW_ERROR
+ THROW_ERROR
+ void processResponseMsg(char *responseMsg);
+ END_THROW_ERROR
- }
-} LassoLogin;
+ THROW_ERROR
+ int validateRequestMsg(gboolean authenticationResult, gboolean isConsentObtained);
+ END_THROW_ERROR
+}
%{
@@ -2694,100 +2692,100 @@ int LassoLogin_setSessionFromDump(LassoLogin *self, char *dump) {
%rename(Logout) LassoLogout;
#endif
typedef struct {
- %extend {
- /* Attributes inherited from LassoProfile */
+} LassoLogout;
+%extend LassoLogout {
+ /* Attributes inherited from LassoProfile */
- %newobject identity_get;
- LassoIdentity *identity;
+ %newobject identity_get;
+ LassoIdentity *identity;
- %immutable isIdentityDirty;
- gboolean isIdentityDirty;
+ %immutable isIdentityDirty;
+ gboolean isIdentityDirty;
- %immutable isSessionDirty;
- gboolean isSessionDirty;
+ %immutable isSessionDirty;
+ gboolean isSessionDirty;
- %immutable msgBody;
- char *msgBody;
+ %immutable msgBody;
+ char *msgBody;
- %immutable msgRelayState;
- char *msgRelayState;
+ %immutable msgRelayState;
+ char *msgRelayState;
- %immutable msgUrl;
- char *msgUrl;
+ %immutable msgUrl;
+ char *msgUrl;
- LassoSamlNameIdentifier *nameIdentifier;
+ LassoSamlNameIdentifier *nameIdentifier;
- %newobject remoteProviderId_get;
- char *remoteProviderId;
+ %newobject remoteProviderId_get;
+ char *remoteProviderId;
- %immutable request;
- LassoLibLogoutRequest *request;
+ %immutable request;
+ LassoLibLogoutRequest *request;
- %immutable response;
- LassoLibLogoutResponse *response;
+ %immutable response;
+ LassoLibLogoutResponse *response;
- char *responseStatus;
+ char *responseStatus;
- %newobject session_get;
- LassoSession *session;
+ %newobject session_get;
+ LassoSession *session;
- /* Constructor, Destructor & Static Methods */
+ /* Constructor, Destructor & Static Methods */
- LassoLogout(LassoServer *server);
+ LassoLogout(LassoServer *server);
- ~LassoLogout();
+ ~LassoLogout();
- %newobject newFromDump;
- static LassoLogout *newFromDump(LassoServer *server, char *dump);
+ %newobject newFromDump;
+ static LassoLogout *newFromDump(LassoServer *server, char *dump);
- /* Methods inherited from LassoProfile */
+ /* Methods inherited from LassoProfile */
- THROW_ERROR
- void setIdentityFromDump(char *dump);
- END_THROW_ERROR
+ THROW_ERROR
+ void setIdentityFromDump(char *dump);
+ END_THROW_ERROR
- THROW_ERROR
- void setSessionFromDump(char *dump);
- END_THROW_ERROR
+ THROW_ERROR
+ void setSessionFromDump(char *dump);
+ END_THROW_ERROR
- /* Methods */
+ /* Methods */
- THROW_ERROR
- void buildRequestMsg();
- END_THROW_ERROR
+ THROW_ERROR
+ void buildRequestMsg();
+ END_THROW_ERROR
- THROW_ERROR
- void buildResponseMsg();
- END_THROW_ERROR
+ THROW_ERROR
+ void buildResponseMsg();
+ END_THROW_ERROR
- %newobject dump;
- char *dump();
+ %newobject dump;
+ char *dump();
- %newobject getNextProviderId;
- char *getNextProviderId();
+ %newobject getNextProviderId;
+ char *getNextProviderId();
- THROW_ERROR
- void initRequest(char *remoteProviderId = NULL,
- LassoHttpMethod httpMethod = LASSO_HTTP_METHOD_ANY);
- END_THROW_ERROR
+ THROW_ERROR
+ void initRequest(char *remoteProviderId = NULL,
+ LassoHttpMethod httpMethod = LASSO_HTTP_METHOD_ANY);
+ END_THROW_ERROR
- THROW_ERROR
- void processRequestMsg(char *requestMsg);
- END_THROW_ERROR
+ THROW_ERROR
+ void processRequestMsg(char *requestMsg);
+ END_THROW_ERROR
- THROW_ERROR
- void processResponseMsg(char *responseMsg);
- END_THROW_ERROR
+ THROW_ERROR
+ void processResponseMsg(char *responseMsg);
+ END_THROW_ERROR
- THROW_ERROR
- void resetProviderIdIndex();
- END_THROW_ERROR
+ THROW_ERROR
+ void resetProviderIdIndex();
+ END_THROW_ERROR
- THROW_ERROR
- void validateRequest();
- END_THROW_ERROR
- }
-} LassoLogout;
+ THROW_ERROR
+ void validateRequest();
+ END_THROW_ERROR
+}
%{
@@ -2895,113 +2893,115 @@ int LassoLogout_setSessionFromDump(LassoLogout *self, char *dump) {
%rename(Lecp) LassoLecp;
#endif
typedef struct {
- %extend {
- /* Attributes inherited from LassoProfile */
-
- %immutable authnRequest;
- LassoLibAuthnRequest *authnRequest;
+ // FIXME: char *assertionConsumerServiceURL;
+ // FIXME: LassoLibAuthnRequestEnvelope *authnRequestEnvelope;
+ // FIXME: LassoLibAuthnResponseEnvelope *authnResponseEnvelope;
+} LassoLecp;
+%extend LassoLecp {
+ /* Attributes inherited from LassoProfile */
- %immutable authnResponse;
- LassoLibAuthnResponse *authnResponse;
+ %immutable authnRequest;
+ LassoLibAuthnRequest *authnRequest;
- %newobject identity_get;
- LassoIdentity *identity;
+ %immutable authnResponse;
+ LassoLibAuthnResponse *authnResponse;
- %immutable isIdentityDirty;
- gboolean isIdentityDirty;
+ %newobject identity_get;
+ LassoIdentity *identity;
- %immutable isSessionDirty;
- gboolean isSessionDirty;
+ %immutable isIdentityDirty;
+ gboolean isIdentityDirty;
- %immutable msgBody;
- char *msgBody;
+ %immutable isSessionDirty;
+ gboolean isSessionDirty;
- %immutable msgRelayState;
- char *msgRelayState;
+ %immutable msgBody;
+ char *msgBody;
- %immutable msgUrl;
- char *msgUrl;
+ %immutable msgRelayState;
+ char *msgRelayState;
- LassoSamlNameIdentifier *nameIdentifier;
+ %immutable msgUrl;
+ char *msgUrl;
- %newobject remoteProviderId_get;
- char *remoteProviderId;
+ LassoSamlNameIdentifier *nameIdentifier;
- %immutable request;
- LassoSamlpRequest *request;
+ %newobject remoteProviderId_get;
+ char *remoteProviderId;
- %immutable response;
- LassoSamlpResponse *response;
+ %immutable request;
+ LassoSamlpRequest *request;
- char *responseStatus;
+ %immutable response;
+ LassoSamlpResponse *response;
- %newobject session_get;
- LassoSession *session;
+ char *responseStatus;
- /* Constructor, Destructor & Static Methods */
+ %newobject session_get;
+ LassoSession *session;
- LassoLecp(LassoServer *server);
+ /* Constructor, Destructor & Static Methods */
- ~LassoLecp();
+ LassoLecp(LassoServer *server);
- /* Methods inherited from LassoProfile */
+ ~LassoLecp();
- THROW_ERROR
- void setIdentityFromDump(char *dump);
- END_THROW_ERROR
+ /* Methods inherited from LassoProfile */
- THROW_ERROR
- void setSessionFromDump(char *dump);
- END_THROW_ERROR
+ THROW_ERROR
+ void setIdentityFromDump(char *dump);
+ END_THROW_ERROR
- /* Methods inherited from LassoLogin */
+ THROW_ERROR
+ void setSessionFromDump(char *dump);
+ END_THROW_ERROR
- THROW_ERROR
- int buildAssertion(char *authenticationMethod, char *authenticationInstant,
- char *reauthenticateOnOrAfter,
- char *notBefore, char *notOnOrAfter);
- END_THROW_ERROR
+ /* Methods inherited from LassoLogin */
- THROW_ERROR
- int validateRequestMsg(gboolean authenticationResult, gboolean isConsentObtained);
- END_THROW_ERROR
+ THROW_ERROR
+ int buildAssertion(char *authenticationMethod, char *authenticationInstant,
+ char *reauthenticateOnOrAfter,
+ char *notBefore, char *notOnOrAfter);
+ END_THROW_ERROR
- /* Methods */
+ THROW_ERROR
+ int validateRequestMsg(gboolean authenticationResult, gboolean isConsentObtained);
+ END_THROW_ERROR
- THROW_ERROR
- void buildAuthnRequestEnvelopeMsg();
- END_THROW_ERROR
+ /* Methods */
- THROW_ERROR
- void buildAuthnRequestMsg();
- END_THROW_ERROR
+ THROW_ERROR
+ void buildAuthnRequestEnvelopeMsg();
+ END_THROW_ERROR
- THROW_ERROR
- void buildAuthnResponseEnvelopeMsg();
- END_THROW_ERROR
+ THROW_ERROR
+ void buildAuthnRequestMsg();
+ END_THROW_ERROR
- THROW_ERROR
- void buildAuthnResponseMsg();
- END_THROW_ERROR
+ THROW_ERROR
+ void buildAuthnResponseEnvelopeMsg();
+ END_THROW_ERROR
- THROW_ERROR
- void initAuthnRequest(char *remoteProviderId = NULL);
- END_THROW_ERROR
+ THROW_ERROR
+ void buildAuthnResponseMsg();
+ END_THROW_ERROR
- THROW_ERROR
- void processAuthnRequestEnvelopeMsg(char *requestMsg);
- END_THROW_ERROR
+ THROW_ERROR
+ void initAuthnRequest(char *remoteProviderId = NULL);
+ END_THROW_ERROR
- THROW_ERROR
- void processAuthnRequestMsg(char *authnRequestMsg);
- END_THROW_ERROR
+ THROW_ERROR
+ void processAuthnRequestEnvelopeMsg(char *requestMsg);
+ END_THROW_ERROR
- THROW_ERROR
- void processAuthnResponseEnvelopeMsg(char *responseMsg);
- END_THROW_ERROR
+ THROW_ERROR
+ void processAuthnRequestMsg(char *authnRequestMsg);
+ END_THROW_ERROR
- }
-} LassoLecp;
+ THROW_ERROR
+ void processAuthnResponseEnvelopeMsg(char *responseMsg);
+ END_THROW_ERROR
+}
%{
@@ -3147,79 +3147,78 @@ int LassoLecp_validateRequestMsg(LassoLecp *self, gboolean authenticationResult,
typedef struct {
%immutable targetNameIdentifier;
char *targetNameIdentifier;
+} LassoNameIdentifierMapping;
+%extend LassoNameIdentifierMapping {
+ /* Attributes inherited from LassoProfile */
- %extend {
- /* Attributes inherited from LassoProfile */
-
- %newobject identity_get;
- LassoIdentity *identity;
+ %newobject identity_get;
+ LassoIdentity *identity;
- %immutable isIdentityDirty;
- gboolean isIdentityDirty;
+ %immutable isIdentityDirty;
+ gboolean isIdentityDirty;
- %immutable isSessionDirty;
- gboolean isSessionDirty;
+ %immutable isSessionDirty;
+ gboolean isSessionDirty;
- %immutable msgBody;
- char *msgBody;
+ %immutable msgBody;
+ char *msgBody;
- %immutable msgUrl;
- char *msgUrl;
+ %immutable msgUrl;
+ char *msgUrl;
- LassoSamlNameIdentifier *nameIdentifier;
+ LassoSamlNameIdentifier *nameIdentifier;
- %newobject remoteProviderId_get;
- char *remoteProviderId;
+ %newobject remoteProviderId_get;
+ char *remoteProviderId;
- %newobject session_get;
- LassoSession *session;
+ %newobject session_get;
+ LassoSession *session;
- /* Constructor, Destructor & Static Methods */
+ /* Constructor, Destructor & Static Methods */
- LassoNameIdentifierMapping(LassoServer *server);
+ LassoNameIdentifierMapping(LassoServer *server);
- ~LassoNameIdentifierMapping();
+ ~LassoNameIdentifierMapping();
- /* Methods inherited from LassoProfile */
+ /* Methods inherited from LassoProfile */
- THROW_ERROR
- void setIdentityFromDump(char *dump);
- END_THROW_ERROR
+ THROW_ERROR
+ void setIdentityFromDump(char *dump);
+ END_THROW_ERROR
- THROW_ERROR
- void setSessionFromDump(char *dump);
- END_THROW_ERROR
+ THROW_ERROR
+ void setSessionFromDump(char *dump);
+ END_THROW_ERROR
- /* Methods */
+ /* Methods */
- THROW_ERROR
- void buildRequestMsg();
- END_THROW_ERROR
+ THROW_ERROR
+ void buildRequestMsg();
+ END_THROW_ERROR
- THROW_ERROR
- void buildResponseMsg();
- END_THROW_ERROR
+ THROW_ERROR
+ void buildResponseMsg();
+ END_THROW_ERROR
- %newobject dump;
- char *dump();
+ %newobject dump;
+ char *dump();
- THROW_ERROR
- void initRequest(char *targetNamespace, char *remoteProviderId = NULL);
- END_THROW_ERROR
+ THROW_ERROR
+ void initRequest(char *targetNamespace, char *remoteProviderId = NULL);
+ END_THROW_ERROR
- THROW_ERROR
- void processRequestMsg(char *requestMsg);
- END_THROW_ERROR
+ THROW_ERROR
+ void processRequestMsg(char *requestMsg);
+ END_THROW_ERROR
- THROW_ERROR
- void processResponseMsg(char *responseMsg);
- END_THROW_ERROR
+ THROW_ERROR
+ void processResponseMsg(char *responseMsg);
+ END_THROW_ERROR
- THROW_ERROR
- void validateRequest();
- END_THROW_ERROR
- }
-} LassoNameIdentifierMapping;
+ THROW_ERROR
+ void validateRequest();
+ END_THROW_ERROR
+}
%{
@@ -3308,95 +3307,95 @@ int LassoNameIdentifierMapping_setSessionFromDump(LassoNameIdentifierMapping *se
%rename(NameRegistration) LassoNameRegistration;
#endif
typedef struct {
- %extend {
- /* Attributes inherited from LassoProfile */
+} LassoNameRegistration;
+%extend LassoNameRegistration {
+ /* Attributes inherited from LassoProfile */
- %newobject identity_get;
- LassoIdentity *identity;
+ %newobject identity_get;
+ LassoIdentity *identity;
- %immutable isIdentityDirty;
- gboolean isIdentityDirty;
+ %immutable isIdentityDirty;
+ gboolean isIdentityDirty;
- %immutable isSessionDirty;
- gboolean isSessionDirty;
+ %immutable isSessionDirty;
+ gboolean isSessionDirty;
- %immutable msgBody;
- char *msgBody;
+ %immutable msgBody;
+ char *msgBody;
- %immutable msgRelayState;
- char *msgRelayState;
+ %immutable msgRelayState;
+ char *msgRelayState;
- %immutable msgUrl;
- char *msgUrl;
+ %immutable msgUrl;
+ char *msgUrl;
- LassoSamlNameIdentifier *nameIdentifier;
+ LassoSamlNameIdentifier *nameIdentifier;
- %newobject remoteProviderId_get;
- char *remoteProviderId;
+ %newobject remoteProviderId_get;
+ char *remoteProviderId;
- %immutable request;
- LassoLibRegisterNameIdentifierRequest *request;
+ %immutable request;
+ LassoLibRegisterNameIdentifierRequest *request;
- %immutable response;
- LassoLibRegisterNameIdentifierResponse *response;
+ %immutable response;
+ LassoLibRegisterNameIdentifierResponse *response;
- %newobject session_get;
- LassoSession *session;
+ %newobject session_get;
+ LassoSession *session;
- /* Attributes */
+ /* Attributes */
- LassoSamlNameIdentifier *oldNameIdentifier;
+ LassoSamlNameIdentifier *oldNameIdentifier;
- /* Constructor, Destructor & Static Methods */
+ /* Constructor, Destructor & Static Methods */
- LassoNameRegistration(LassoServer *server);
+ LassoNameRegistration(LassoServer *server);
- ~LassoNameRegistration();
+ ~LassoNameRegistration();
- %newobject newFromDump;
- static LassoNameRegistration *newFromDump(LassoServer *server, char *dump);
+ %newobject newFromDump;
+ static LassoNameRegistration *newFromDump(LassoServer *server, char *dump);
- /* Methods inherited from LassoProfile */
+ /* Methods inherited from LassoProfile */
- THROW_ERROR
- void setIdentityFromDump(char *dump);
- END_THROW_ERROR
+ THROW_ERROR
+ void setIdentityFromDump(char *dump);
+ END_THROW_ERROR
- THROW_ERROR
- void setSessionFromDump(char *dump);
- END_THROW_ERROR
+ THROW_ERROR
+ void setSessionFromDump(char *dump);
+ END_THROW_ERROR
- /* Methods */
+ /* Methods */
- THROW_ERROR
- void buildRequestMsg();
- END_THROW_ERROR
+ THROW_ERROR
+ void buildRequestMsg();
+ END_THROW_ERROR
- THROW_ERROR
- void buildResponseMsg();
- END_THROW_ERROR
+ THROW_ERROR
+ void buildResponseMsg();
+ END_THROW_ERROR
- %newobject dump;
- char *dump();
+ %newobject dump;
+ char *dump();
- THROW_ERROR
- void initRequest(char *remoteProviderId,
- LassoHttpMethod httpMethod = LASSO_HTTP_METHOD_ANY);
- END_THROW_ERROR
+ THROW_ERROR
+ void initRequest(char *remoteProviderId,
+ LassoHttpMethod httpMethod = LASSO_HTTP_METHOD_ANY);
+ END_THROW_ERROR
- THROW_ERROR
- void processRequestMsg(char *requestMsg);
- END_THROW_ERROR
+ THROW_ERROR
+ void processRequestMsg(char *requestMsg);
+ END_THROW_ERROR
- THROW_ERROR
- void processResponseMsg(char *responseMsg);
- END_THROW_ERROR
+ THROW_ERROR
+ void processResponseMsg(char *responseMsg);
+ END_THROW_ERROR
- THROW_ERROR
- void validateRequest();
- END_THROW_ERROR
- }
-} LassoNameRegistration;
+ THROW_ERROR
+ void validateRequest();
+ END_THROW_ERROR
+}
%{