public class AccessTokenProviderBean
extends java.lang.Object
implements javax.ejb.SessionBean
Modifier and Type | Field and Description |
---|---|
static MXLogger |
securityLogger
A logger object used to log messages.
|
Constructor and Description |
---|
AccessTokenProviderBean() |
Modifier and Type | Method and Description |
---|---|
void |
ejbActivate() |
void |
ejbCreate()
Creates the application session keys that should be
used by the MAXIMO application.
|
void |
ejbPassivate() |
void |
ejbRemove() |
AccessToken |
getAccessToken()
Generates a new access token and returns it.
|
java.lang.String |
getBindingName()
Returns the binding name used to register MAXIMO business
object service in the RMI registry.
|
void |
setSessionContext(javax.ejb.SessionContext sCtx)
Sets the session conext.
|
public static final MXLogger securityLogger
public void setSessionContext(javax.ejb.SessionContext sCtx)
setSessionContext
in interface javax.ejb.SessionBean
SessionBean.setSessionContext(javax.ejb.SessionContext)
public void ejbRemove()
ejbRemove
in interface javax.ejb.SessionBean
SessionBean.ejbRemove()
public void ejbActivate()
ejbActivate
in interface javax.ejb.SessionBean
SessionBean.ejbActivate()
public void ejbPassivate()
ejbPassivate
in interface javax.ejb.SessionBean
SessionBean.ejbPassivate()
public void ejbCreate() throws javax.ejb.CreateException
javax.ejb.CreateException
- if fails to create the session keys or the bean.public AccessToken getAccessToken()
public java.lang.String getBindingName()