|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.portal.wac.WAClient
public class WAClient
The class offers methods to enable a using program/class to act as a client to a Web Security Service (WSS) as specified in GDI-NRW. This implementation just supports authentication through sessionIDs and user/password. If other authentication mechanisms are needed this class should be extended by defining additional performDoService methods.
| Constructor Summary | |
|---|---|
WAClient(java.lang.String host,
java.lang.String path)
The constructor assumes that the the certificate to be used is set by starting the java VM using -Djavax.net.ssl.trustStore parameter. |
|
WAClient(java.lang.String host,
java.lang.String path,
int port)
The constructor assumes that the the certificate to be used is set by starting the java VM using -Djavax.net.ssl.trustStore parameter. |
|
WAClient(java.lang.String host,
java.lang.String path,
int port,
java.lang.String trustStore)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getContentType()
returns the name of the content type of the result to the last performed request |
org.w3c.dom.Document |
performCloseSession(java.lang.String sessionID)
closes a Session by sending a CloseSession request against the WSS that is assigned to a client. |
java.io.InputStream |
performDoService(java.lang.String request,
java.lang.String sessionID)
performs a DoService request against the WSS that is assigned to a client. |
java.io.InputStream |
performDoService(java.lang.String request,
java.lang.String user,
java.lang.String password)
performs a DoService request against the WSS that is assigned to a client. |
org.w3c.dom.Document |
performGetCapabilities()
performs a GetCapabilities request against the WSS that is assigned to a client |
java.lang.String |
performGetSession(java.lang.String user,
java.lang.String password)
performs a GetSession request against the WSS that is assigned to a client. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WAClient(java.lang.String host,
java.lang.String path)
host - path -
public WAClient(java.lang.String host,
java.lang.String path,
int port)
host - path - port -
public WAClient(java.lang.String host,
java.lang.String path,
int port,
java.lang.String trustStore)
host - path - port - trustStore - | Method Detail |
|---|
public java.lang.String getContentType()
public org.w3c.dom.Document performGetCapabilities()
throws WACException
WACException
public java.lang.String performGetSession(java.lang.String user,
java.lang.String password)
throws WACException
user - name of the user who like to get a sessionpassword - password of the user
WACException
public org.w3c.dom.Document performCloseSession(java.lang.String sessionID)
throws WACException
sessionID -
WACException
public java.io.InputStream performDoService(java.lang.String request,
java.lang.String user,
java.lang.String password)
throws WACException
request - request to performuser - name of the user who like to get a sessionpassword - password of the user
WACExceptionperformDoService(String, String)
public java.io.InputStream performDoService(java.lang.String request,
java.lang.String sessionID)
throws WACException
request - request to performsessionID - id to authentificate a user
WACExceptionperformDoService(String, String, String)
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org