You can extend the Account class using the Accounts extension point. Every account has an account type. Each account of a given type can either use the base Account class provided by the API or create and register a class that extends the Account class and provides additional functionality.
To implement a custom account type, perform the following steps:
- Extend the Account extension point and define the required attributes.
- Write a class that extends the Account class and provides the added functionality you want to provide in the new account.
- To implement an object of this type, use the newAccount(java.lang.String id) method and pass the account TYPE as the id parameter.
To support a customized account type, the HTTP/HTTPS URL handler assumes the non-basic authentication is cookie based, in regards to the server/URL which needs an account. Note that, basic authentication is credential based.
Parent topic: Accounts framework: XPD622