Hitachi

uCosminexus Application Server Security Management Guide


5.12.2 Points to remember when implementing custom login modules

When creating custom login modules, the LoginModule interface that is the JAAS SPI should be inherited to implement the necessary process. This section provides the points to remember when implementing custom login modules and the LoginModule interface, as well as when implementing the Principal object, which manages user IDs.

Organization of this subsection

(1) Points to remember when implementing the LoginModule interface

(2) Points to remember when implementing the Principal object

Implement the Principal object by inheriting the java.security.Principal and java.io.Serializable interfaces.