- TIBCO BusinessEvents®
- Security
- Authentication

# Authentication.authenticate()

## Signature

`String authenticate(String username, String password)`

## Domain

ACTION, CONDITION, QUERY, BUI

## Description

Authenticate the given username/password

## Parameters

Name | Type | Description
--- | --- | ---
`username` | `String` | The username to be authenticated
`password` | `String` | The password of the username

## Returns

Type | Description
--- | ---
`String` | An serialized version of the token if authentication succeeds else null