org.apache.axis.handlers
public class SimpleAuthorizationHandler extends BasicHandler
allowedRoles
handler parameter to determine if
user has rights to access the service
The allowByDefault
handler parameter can be used to authorize
all users if the parameter is set to true and the allowedRoles
access control list is not specified.
Replace this with your 'real' Authorization code.
Field Summary | |
---|---|
protected static Log | log |
Method Summary | |
---|---|
void | invoke(MessageContext msgContext)
Authorize the user and targetService from the msgContext |
void | onFault(MessageContext msgContext)
Nothing to undo |