com.webify.fabric.engine.extension
Interface RequestGuard
public interface RequestGuard
Rejects requests when the context does not satisfy some requirement indicated
by the endpoint selection or authorization policy. This allows deployments to
programmatically associate intricate sematics to special policy assertions.
- Version:
- $Id: $
- Author:
- dranatunga
checkRequest
void checkRequest(Policy policy,
SessionAccess session)
throws ContextException
- Allows a mediation to continue, or rejects them by throwing an appropriate
ContextException
.
- Throws:
ContextException
- when the mediation should be prevented from proceeding any further.
Of particular interest are the exceptions InvalidContextException
and
SecurityContextException
.
Copyright © 2002-2009 IBM. All Rights Reserved.