Authentication

Description

Functions for authenticating using JAAS

Functions

NameSignature and Synopsis
authenticateString 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
createUUIDString createUUID()
Generate a universally unique identifier
ssoAuthenticateString 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.