← Back to plugin index

Dummy Matrix Authenticator

Description
Dummy authenticator plug-in to test matrix card authentication.

Expects a credential of type UserCredential (or a subtype) in the first step and responds with a random challenge of three coordinate pairs.

Usernames and responses other than the challenge (just concatenate the coordinate pairs; no spaces) are processed as follows:

  • User "unknown" is unknown.
  • User "ambiguous" is abiguous
  • User "locked" is a locked user
  • User "invalid" is an invalid user
  • User "unspec" results in an unspecified authentication failure
  • The request will result in an AuthenticatorException if any response contains "except".
  • The request will be accepted if any response contains "accept".
  • All other responses are not accepted.

If the authentication succeeds, the roles "role1" and "role2" are granted to the user.

There are no configuration properties.

The plugin writes the canonical class name description of this plugin to the context data container. The class name is stored under the key authPluginClassName . A short description of this authentication method is stored under the key authMethodShortDesc . This information may be used by callers.

Type name
DummyMatrixAuthenticator
Class
com.airlock.iam.core.misc.impl.authen.DummyMatrixAuthenticator
May be used by
Properties
YAML Template (with default values)

type: DummyMatrixAuthenticator
id: DummyMatrixAuthenticator-xxxxxx
displayName: 
comment: 
properties: