- TIBCO BusinessEvents®
- Security
- Authentication

# Authentication

## Description

Functions for authenticating using JAAS

## Functions

Name | Signature and Synopsis
--- | ---
`authenticate` | `String authenticate(String username, String password)` This function provides authentication service. If the given username/password is valid, then a serialized token is returned else a null is returned. Any exception encountered is thrown as a runtime exception
`createUUID` | `String createUUID()` Generate a universally unique identifier
`ssoAuthenticate` | `String ssoAuthenticate(String tokenIssuerUrl, String username, String password)` Authenticate the given username/password and create an SSO token in Base64 encoded form to be embedded as cookie.