|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.glite.authz.pep.obligation.BaseObligationHandler
org.glite.authz.pep.obligation.eesmap.EESObligationHandler
public class EESObligationHandler
TODO documentation
| Constructor Summary | |
|---|---|
EESObligationHandler(java.lang.String name,
java.lang.String obligationId,
java.lang.String endPoint)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
evaluateObligation(org.glite.authz.common.model.Request request,
org.glite.authz.common.model.Result result)
|
protected org.glite.authz.common.model.Response |
extractResponseFromMessageContext(org.glite.authz.common.context.DecisionRequestContext messageContext)
TODO DOC extracts EES Response object from the message context inbound message (SOAP response) |
java.lang.String |
getEESEndpoint()
|
java.lang.String |
getEntityId()
|
protected org.glite.authz.common.model.Request |
mixObligationsInRequest(org.glite.authz.common.model.Request request,
org.glite.authz.common.model.Result result)
TODO EXPLAIN THE BLACK MAGIC!!!!!! |
protected boolean |
resultContainsHandledObligationId(org.glite.authz.common.model.Result result)
Returns true iff the result contains at least one handled
obligation |
protected void |
sendRequestToEES(org.glite.authz.common.context.DecisionRequestContext messageContext,
org.glite.authz.common.model.Request request)
Sends the "special" request to the EES server |
void |
setEntityId(java.lang.String entityId)
Sets the OH entity ID |
| Methods inherited from class org.glite.authz.pep.obligation.BaseObligationHandler |
|---|
equals, getHandlerPrecedence, getId, getObligationId, hashCode, setId |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.glite.authz.pep.obligation.ObligationHandler |
|---|
getHandlerPrecedence, getId, getObligationId |
| Constructor Detail |
|---|
public EESObligationHandler(java.lang.String name,
java.lang.String obligationId,
java.lang.String endPoint)
name - The obligation handler nameobligationId - The ID of the handled obligationendPoint - The EES endpoint URL| Method Detail |
|---|
public void setEntityId(java.lang.String entityId)
entityId -
protected org.glite.authz.common.model.Request mixObligationsInRequest(org.glite.authz.common.model.Request request,
org.glite.authz.common.model.Result result)
request - result -
public java.lang.String getEntityId()
public java.lang.String getEESEndpoint()
public boolean evaluateObligation(org.glite.authz.common.model.Request request,
org.glite.authz.common.model.Result result)
throws org.glite.authz.pep.obligation.ObligationProcessingException
evaluateObligation in interface org.glite.authz.pep.obligation.ObligationHandlerorg.glite.authz.pep.obligation.ObligationProcessingExceptionprotected boolean resultContainsHandledObligationId(org.glite.authz.common.model.Result result)
true iff the result contains at least one handled
obligation
result - the result
true iff the result contains at least one handled
obligation
protected org.glite.authz.common.model.Response extractResponseFromMessageContext(org.glite.authz.common.context.DecisionRequestContext messageContext)
throws EESObligationHandlerException
messageContext -
EESObligationHandlerException
protected void sendRequestToEES(org.glite.authz.common.context.DecisionRequestContext messageContext,
org.glite.authz.common.model.Request request)
throws EESObligationHandlerException
messageContext - the message contextrequest - the request to send
EESObligationHandlerException - if an error occurs while sending the request
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||