Helper method to create an authentication certificate for a user.

1 API

Class Ax.ext.cert


Method Summary

Modifier and Type
Method
Description
object 
getSchema(string user, string certName, string password, date expiry date)
Creates a new PKCS12 certificate that the defined user will be able to use to authenticate themselves.

Method Detail

Ax.ext.cert.getSchema

object Ax.ext.cert.getSchema(
	string user,
	string certName,
	string password,
	date expiry date
)
Info:
Creates a new PKCS12 certificate that the defined user will be able to use to authenticate themselves. The user will add the certificate to their browser to enter the application without the login process. The certificate will be valid until the specified expiration date.
Parameters:
user - User code
certName - Certificate name
password - Certificate password
expiry date - Certificate's expiration date
Returns:
object

Example
Copy
return Ax.ext.cert.addUserCertificate("user.example", "certName", "password", new Ax.util.Date().addYear(1));