Apache CXF API

org.apache.cxf.rs.security.oauth2.utils
Class AuthorizationUtils

java.lang.Object
  extended by org.apache.cxf.rs.security.oauth2.utils.AuthorizationUtils

public final class AuthorizationUtils
extends Object

Authorization helpers


Method Summary
static String[] getAuthorizationParts(MessageContext mc)
           
static String[] getAuthorizationParts(MessageContext mc, Set<String> challenges)
           
static String[] getBasicAuthParts(String data)
           
static void throwAuthorizationFailure(Set<String> challenges)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getBasicAuthParts

public static String[] getBasicAuthParts(String data)

getAuthorizationParts

public static String[] getAuthorizationParts(MessageContext mc)

getAuthorizationParts

public static String[] getAuthorizationParts(MessageContext mc,
                                             Set<String> challenges)

throwAuthorizationFailure

public static void throwAuthorizationFailure(Set<String> challenges)

Apache CXF API

Apache CXF