Authentication Methods

These methods assist a developer in getting insight into the authentication framework.

You can leverage the CBSecurity model to get insight into some aspects of the authentication process or do authentication via the configured authentication service if needed.

Configured Services

  • getAuthService() - Get access to the configured authentication service

  • getUserService() - Get access to the configured user service

Authentication Context

  • authenticate( username, password ) - Authenticate a request

  • getUser() - Get the authenticated user of the current request

  • guest() - Verify if the users is NOT logged in, but a guest

  • isLoggedIn() - Verify if the current request has authenticated

  • logout() - Logout the authenticated user

Last updated