org.picketlink.trust.jbossws.util
Class JBossWSSERoleExtractor
java.lang.Object
org.picketlink.trust.jbossws.util.JBossWSSERoleExtractor
public class JBossWSSERoleExtractor
- extends Object
Given a jboss-wsse.xml file, extract the roles
- Since:
- Apr 11, 2011
- Author:
- Anil.Saldhana@redhat.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UNCHECKED
public static final String UNCHECKED
- See Also:
- Constant Field Values
JBossWSSERoleExtractor
public JBossWSSERoleExtractor()
getRoles
public static List<String> getRoles(InputStream is,
String portName,
String operationName)
throws ProcessingException
Given the jboss-wsse.xml inputstream, return the configured roles
Note that the setting will yield a role of unchecked. So special handling needs to be done by the caller.
- Parameters:
is
- portName
- optionally pass in a portName
- Returns:
- a
List
of role names
- Throws:
ProcessingException
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.