|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis.handlers.BasicHandler
org.glite.ce.commonj.axis.handlers.AuthorizationHandler
This class is a plugin that can be inserted into the request flow of Axis in order to enable the authorization of a request. It accesses to the grid Java Authorization Framework (gJAF) methods for the authorization processing of the request; the configuration of gJAF chains and plugins is retrieved from the message context and is defined using Java Management Extensions methods and beans.
Field Summary | |
static java.lang.String |
USERDN_RFC2253_LABEL
This label is used as the key to retrieve the user DN from the message context in the format specified into RFC2253 |
static java.lang.String |
USERDN_X500_LABEL
This label is used as the key to retrieve the user DN from the message context in X500 format |
Fields inherited from class org.apache.axis.handlers.BasicHandler |
makeLockable, name, options |
Constructor Summary | |
AuthorizationHandler()
The default constructor of the class. |
Method Summary | |
void |
invoke(org.apache.axis.MessageContext msgContext)
This method is invoked by the axis engine during the processing of the request. |
Methods inherited from class org.apache.axis.handlers.BasicHandler |
canHandleBlock, cleanup, generateWSDL, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, init, initHashtable, onFault, setName, setOption, setOptionDefault, setOptions, setOptionsLockable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.lang.String USERDN_X500_LABEL
public static java.lang.String USERDN_RFC2253_LABEL
Constructor Detail |
public AuthorizationHandler()
Method Detail |
public void invoke(org.apache.axis.MessageContext msgContext) throws org.apache.axis.AxisFault
msgContext
- is the message context for the current request.
org.apache.axis.AxisFault
- if the user is not authorized to execute the operation or if
an error occurs during the authorization process.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |