public interface Token
You use this interface to represent authentication information that will be processed by a pluggable authentication module. For information about creating a pluggable authentication module, see "Customizing Authentication" in the webMethods Integration Server Administrator's Guide.
webMethods provides two concrete implementations of this interface:
Class |
Description |
com.wm.app.b2b.server.auth.BasicToken | Represents a user name/password combination that has been submitted to the webMethods Integration Server. |
com.wm.app.b2b.server.auth.X509Token | Represents a a certificate chain that has been submitted to the webMethods Integration Server via HTTPS. |
Module
,
BasicToken
,
X509Token
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getType()
Deprecated.
Returns the type of authentication information contained within the object.
|
java.lang.String getType()
Note: The value returned by this method must match the value returned by the getMechanism method of the authentication module by which you want this token processed. If it does not match, the token will not be passed to that authentication module.
Module.getMechanism()