Class MultiAuthenticator

All Implemented Interfaces:
Authenticator

public class MultiAuthenticator extends LoginAuthenticator

An Authenticator which maps different Authenticators to PathSpecs.

This can be used to support multiple different authentication methods for a single application such as FORM, OPENID and SIWE.

The setLoginPath(String) can be used to set a login page where unauthenticated users are redirected in the case that no Authenticators were matched. This can be used as a page to link to other paths where Authenticators are mapped to so that users can choose their login method.