lasso/java/src/java/com/entrouvert/lasso/LassoLogout.java

54 lines
1.7 KiB
Java

/*
* JLasso -- Java bindings for Lasso library
*
* Copyright (C) 2004 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: Benjamin Poussin <poussin@codelutin.com>
* Emmanuel Raviart <eraviart@entrouvert.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package com.entrouvert.lasso;
public class LassoLogout extends LassoProfileContext { // LassoLogout
public LassoLogout(LassoServer server, int providerType){
this.server = server;
init(server, providerType);
}
native protected void init(LassoServer server, int providerType);
native public int buildRequestMsg();
native public int buildResponseMsg();
native public String getNameIdentifier();
native public String getNextProviderId();
native public int initRequest(String providerId);
native public int loadRequestMsg(String requestMsg, int requestMethod);
native public int processRequest();
native public int processResponseMsg(String responseMsg, int responseMethod);
} // LassoLogout