public class CXFAuthHandler extends Object implements SOAPHandler<SOAPMessageContext>
Modifier and Type | Class and Description |
---|---|
static class |
CXFAuthHandler.AttributedString |
static class |
CXFAuthHandler.ObjectFactory |
static class |
CXFAuthHandler.PasswordString |
static class |
CXFAuthHandler.SecurityHeaderType |
static class |
CXFAuthHandler.UsernameTokenType |
Modifier and Type | Field and Description |
---|---|
protected static Set<QName> |
HEADERS |
protected static JAXBContext |
WSSE_CONTEXT |
protected static String |
WSSE_NS |
protected static QName |
WSSE_PASSWORD |
protected static QName |
WSSE_SECURITY |
protected static QName |
WSSE_USERNAME_TOKEN |
Constructor and Description |
---|
CXFAuthHandler() |
Modifier and Type | Method and Description |
---|---|
void |
close(MessageContext context) |
protected Map<String,String> |
extractUsernamePassword(JAXBElement<CXFAuthHandler.SecurityHeaderType> sht) |
Set<QName> |
getHeaders() |
boolean |
handleFault(SOAPMessageContext context) |
boolean |
handleMessage(SOAPMessageContext context) |
protected static final JAXBContext WSSE_CONTEXT
protected static final String WSSE_NS
protected static final QName WSSE_SECURITY
protected static final QName WSSE_USERNAME_TOKEN
protected static final QName WSSE_PASSWORD
public CXFAuthHandler()
public Set<QName> getHeaders()
getHeaders
in interface SOAPHandler<SOAPMessageContext>
public void close(MessageContext context)
close
in interface Handler<SOAPMessageContext>
public boolean handleFault(SOAPMessageContext context)
handleFault
in interface Handler<SOAPMessageContext>
public boolean handleMessage(SOAPMessageContext context)
handleMessage
in interface Handler<SOAPMessageContext>
protected Map<String,String> extractUsernamePassword(JAXBElement<CXFAuthHandler.SecurityHeaderType> sht)
Copyright © 2015 Nuxeo SA. All rights reserved.