org.jboss.wsf.spi.annotation
Class AuthMethod

java.lang.Object
  extended by org.jboss.wsf.spi.annotation.AuthMethod

public final class AuthMethod
extends java.lang.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:
ropalka@redhat.com

Field Summary
static java.lang.String BASIC
          Basic authentication.
static java.lang.String CLIENT_CERT
          Client certificate based authentication.
 
Method Summary
static java.lang.String valueOf(java.lang.String s)
          Returns string representing correct auth method 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 java.lang.String BASIC
Basic authentication.

See Also:
Constant Field Values

CLIENT_CERT

public static final java.lang.String CLIENT_CERT
Client certificate based authentication.

See Also:
Constant Field Values
Method Detail

valueOf

public static java.lang.String valueOf(java.lang.String s)
Returns string representing correct auth method value.

Parameters:
s - string to convert, both lowercased and uppercased values are accepted
Returns:
correct auth method value
Throws:
java.lang.IllegalArgumentException - if s is null or it contains unknown value.


Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.