|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ws.sandbox.security.trust.STSManager
STSManager
is to work as a
decision making component in the server side.
It decides to whom this request must be handed over,
and to carry out the task it uses one RequestResolver
and one RequestInfo
object. This analogous to the real
world the Manager, Clerk and the Report scenario,
where (STS)Manager orders clerk(RequestResolver
)
to resolve a certain request and handover a
report (RequestInfo
) about the request.
Depending on the RequestInfo STSManager
decides the worker class. The worker class can be
an Issuer, Validator or a Renewer. Each STS must
define its Issuer, Validator and Renewer class names
in the server-config.wsdd file. STSServerHandler
will
read it and give to the STSManager
as a hash table.
STSManager
will load the appropriate worker class and give the
response and request documents for further processing.Constructor Summary | |
STSManager(java.util.Hashtable hashOps)
|
Method Summary | |
org.w3c.dom.Document |
handleRequest(org.w3c.dom.Document req,
org.w3c.dom.Document res)
Handle the request and build the Response Envelope Handle the request and build the Response Envelope |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public STSManager(java.util.Hashtable hashOps)
hashOps
- set of parameters coming from STSServerHandler.Method Detail |
public org.w3c.dom.Document handleRequest(org.w3c.dom.Document req, org.w3c.dom.Document res) throws WSTrustException
req
- request message envelop as a DOM Documentres
- response message envelop as a DOM Document
WSTrustException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |