javax.ws.rs.core
Interface SecurityContext


public interface SecurityContext


Field Summary
static String BASIC_AUTH
           
static String CLIENT_CERT_AUTH
           
static String DIGEST_AUTH
           
static String FORM_AUTH
           
 
Method Summary
 String getAuthenticationScheme()
           
 Principal getUserPrincipal()
           
 boolean isSecure()
           
 boolean isUserInRole(String role)
           
 

Field Detail

BASIC_AUTH

static final String BASIC_AUTH
See Also:
Constant Field Values

CLIENT_CERT_AUTH

static final String CLIENT_CERT_AUTH
See Also:
Constant Field Values

DIGEST_AUTH

static final String DIGEST_AUTH
See Also:
Constant Field Values

FORM_AUTH

static final String FORM_AUTH
See Also:
Constant Field Values
Method Detail

getAuthenticationScheme

String getAuthenticationScheme()

getUserPrincipal

Principal getUserPrincipal()

isSecure

boolean isSecure()

isUserInRole

boolean isUserInRole(String role)


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.