org.jboss.ws.api.annotation
Class AuthMethod

java.lang.Object
  extended by org.jboss.ws.api.annotation.AuthMethod

public final class AuthMethod
extends Object

The authMethod is used to configure the authentication mechanism for the web service. As a prerequisite to gaining access to any web service which are protected by an authorization constraint, a user must have authenticated using the configured mechanism.

Author:
Richard Opalka

Field Summary
static String BASIC
          Basic authentication.
static String CLIENT_CERT
          Client certificate based authentication.
 
Method Summary
static String valueOf(String s)
          Returns string representing correct AuthMethod value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BASIC

public static final String BASIC
Basic authentication.

See Also:
Constant Field Values

CLIENT_CERT

public static final String CLIENT_CERT
Client certificate based authentication.

See Also:
Constant Field Values
Method Detail

valueOf

public static String valueOf(String s)
Returns string representing correct AuthMethod value.

Parameters:
s - string to convert.
Returns:
correct auth method value
Throws:
IllegalArgumentException - if s is null or contains unknown value.


Copyright © 2012 JBoss, by Red Hat. All Rights Reserved.