org.opentox.pol
Class OpenssoHelper

Package class diagram package OpenssoHelper
java.lang.Object
  extended by org.opentox.pol.OpenssoHelper

public class OpenssoHelper
extends Object


Constructor Summary
OpenssoHelper()
           
 
Method Summary
 String BrToString(BufferedReader br)
           
 ErrorInfo createPolicy(String xml, String token)
           
 ErrorInfo deletePolicy(String polname, String token)
           
 ErrorInfo doLogin()
           
 ErrorInfo doLogout(String token)
           
 ErrorInfo listPolicy(String polname, String token)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenssoHelper

public OpenssoHelper()
              throws RestException
Throws:
RestException
Method Detail

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.