description |
---|
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.
getAuthService()
- Get access to the configured authentication servicegetUserService()
- Get access to the configured user service
authenticate( username, password )
- Authenticate a requestgetUser()
- Get the authenticated user of the current requestguest()
- Verify if the users is NOT logged in, but a guestisLoggedIn()
- Verify if the current request has authenticatedlogout()
- Logout the authenticated user