Hitachi

uCosminexus Application Server Security Management Guide


5.10.8 Notes on API-based implementation

This section contains the notes on the implementation of API-based user authentication.

Organization of this subsection

(1) Notes on implementing login and logout sessions

When logins and logouts are implemented without using the Subject and when the LoginContext instance created at the time of login is used at the time of logout, logout may fail depending on the login module settings.

Use the Subject when implementing login and logout. The following is an example of the implementation that should be avoided.

Note: The portions that are indicated in bold type and have a background color are implementations that must not be made.

(2) Notes on implementing the sessions to reference and obtain user information

When implementing the sessions to reference and obtain user information, please note that: