uCosminexus Application Server, EJB Container Functionality Guide
Security is implemented in an EJB client application with the APIs that Cosminexus provides. This subsection describes the preconditions for implementing security and also describes how to implement security. For details on the functionality and syntax of APIs, see 4. APIs Used in the EJB Client Applications the uCosminexus Application Server API Reference Guide.
Before implementing security, make sure that the following preconditions are fulfilled:
To implement security in an EJB client application:
import com.hitachi.software.ejb.security.base.authentication.* |
LoginInfoManager lm = LoginInfoManager.getLoginInfoManager(); |
lm.login(username, password); |
lm.logout(); |
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.