PicketLink Federation Common Server Bindings for JBoss AS 2.1.6.Final-redhat-2

org.picketlink.trust.jbossws.util
Class JBossWSSERoleExtractor

java.lang.Object
  extended by 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

Field Summary
static String UNCHECKED
           
 
Constructor Summary
JBossWSSERoleExtractor()
           
 
Method Summary
static List<String> getRoles(InputStream is, String portName, String operationName)
           Given the jboss-wsse.xml inputstream, return the configured roles
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNCHECKED

public static final String UNCHECKED
See Also:
Constant Field Values
Constructor Detail

JBossWSSERoleExtractor

public JBossWSSERoleExtractor()
Method Detail

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

PicketLink Federation Common Server Bindings for JBoss AS 2.1.6.Final-redhat-2

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.