org.apache.ws.security.processor
Class UsernameTokenProcessor
java.lang.Object
org.apache.ws.security.processor.UsernameTokenProcessor
- All Implemented Interfaces:
- Processor
public class UsernameTokenProcessor
- extends Object
- implements Processor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UsernameTokenProcessor
public UsernameTokenProcessor()
handleToken
public List<WSSecurityEngineResult> handleToken(Element elem,
RequestData data,
WSDocInfo wsDocInfo)
throws WSSecurityException
- Specified by:
handleToken
in interface Processor
- Throws:
WSSecurityException
handleUsernameToken
public Credential handleUsernameToken(Element token,
Validator validator,
RequestData data)
throws WSSecurityException
- Check the UsernameToken element and validate it.
- Parameters:
token
- the DOM element that contains the UsernameTokendata
- The RequestData object from which to obtain configuration
- Returns:
- a Credential object corresponding to the (validated) Username Token
- Throws:
WSSecurityException
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.