use of org.apache.cxf.sts.request.RequestParser in project cxf by apache.
the class AbstractOperation method parseRequest.
/**
* Check the arguments from the STSProvider and parse the request.
*/
protected RequestRequirements parseRequest(RequestSecurityTokenType request, Map<String, Object> messageContext) {
if (messageContext == null) {
throw new STSException("No message context found");
}
if (stsProperties == null) {
throw new STSException("No STSProperties object found");
}
stsProperties.configureProperties();
RequestParser requestParser = new RequestParser();
requestParser.setAllowCustomContent(allowCustomContent);
return requestParser.parseRequest(request, messageContext, stsProperties, claimsManager.getClaimParsers());
}
Aggregations