org.jboss.ws.api.annotation
Class AuthMethod
- java.lang.Object
- 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
Fields Modifier and Type Field and Description static String
BASIC
Basic authentication.static String
CLIENT_CERT
Client certificate based authentication.
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static String
valueOf(String s)
Returns string representing correctAuthMethod
value.
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 correctAuthMethod
value.- Parameters:
s
- string to convert.- Returns:
- correct auth method value
- Throws:
IllegalArgumentException
- if s is null.
Copyright © 2018 JBoss, by Red Hat. All rights reserved.