To use the Authentication Service, a profile needs to be defined.
The Authentication Service profile is special, in that it contains plugin extension points. These are called Authenticators and are responsible for authenticating the User in various ways.
The Profile defines three endpoints.
See the Developer guide about how to use these.
If activation and account registration isn’t supported by the data source, there is no need to enable the registration endpoins. Only the Authentication and possibly anonymous endpoint is needed then.
The authentication service requires Credential Managers in order to be able to authenticate Users directly, for example against an SQL database or a SCIM backend webservice. Some Authenticators work without Credential Managers, like the PingFederate. There all authentication is performed by the 3rd party and the Authentication Service is the broker/mediator that handles the identity transformation.
If you intend to use any authenticator that requires local authentication, make sure that the Credential Managers and corresponding Data-Sources are properly configured.
The profile configuration for authentication is can be found in the configuration reference
The given name of the profile
redirect-url-whitelist/uri(url, optional, multivalue)
Each entry defines a whitelisted URL that the Authentication Service accepts redirects to
sso-expiration-time(uint32, default 3600)
The time in seconds the SSO cookie will be valid
username-cookie-name(string, default se.curity.user)
The name of the cookie that will store the username for the cookie that is used cross authenticators to pickup the username and pre-populate the forms
If set, the user will be redirected to this URL after logout.
The id of the protocol plugin that should be used.
If this is the first configuration of the Profile, then the protocol plugin must be created in the same transaction. (Same request if using REST)
The Sms provider to be used by this profile when any component in the profile need to send SMS messages.
This setting is required if the SMS OTP Authenticator is used.
<context-info>Something human readable. Probably a text key.</context-info>