Package org.jboss.ws.api.annotation
Class AuthMethod
java.lang.Object
org.jboss.ws.api.annotation.AuthMethod
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic StringReturns string representing correctAuthMethodvalue.
-
Field Details
-
BASIC
Basic authentication.- See Also:
-
CLIENT_CERT
Client certificate based authentication.- See Also:
-
-
Method Details
-
valueOf
Returns string representing correctAuthMethodvalue.- Parameters:
s- string to convert.- Returns:
- correct auth method value
- Throws:
IllegalArgumentException- if s is null.
-