org.opentox.pol
Class OpenssoHelper
java.lang.Object
org.opentox.pol.OpenssoHelper
public class OpenssoHelper
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpenssoHelper
public OpenssoHelper()
throws RestException
- Throws:
RestException
doLogin
public ErrorInfo doLogin()
throws IOException,
RestException
- Throws:
IOException
RestException
doLogout
public ErrorInfo doLogout(String token)
throws IOException,
RestException
- Throws:
IOException
RestException
createPolicy
public ErrorInfo createPolicy(String xml,
String token)
throws IOException,
RestException
- Throws:
IOException
RestException
deletePolicy
public ErrorInfo deletePolicy(String polname,
String token)
throws IOException,
RestException
- Throws:
IOException
RestException
listPolicy
public ErrorInfo listPolicy(String polname,
String token)
throws IOException,
RestException
- Throws:
IOException
RestException
BrToString
public String BrToString(BufferedReader br)
Copyright © 2010-2011 OpenTox project. All Rights Reserved.