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[] getAuthorizationParts(MessageContext mc, Set<String> challenges, String realm)
           
static String[] getBasicAuthParts(String data)
           
static void throwAuthorizationFailure(Set<String> challenges)
           
static void throwAuthorizationFailure(Set<String> challenges, String realm)
           
 
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)

getAuthorizationParts

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

throwAuthorizationFailure

public static void throwAuthorizationFailure(Set<String> challenges)

throwAuthorizationFailure

public static void throwAuthorizationFailure(Set<String> challenges,
                                             String realm)

Apache CXF API

Apache CXF