|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.retek.rsm.app.common.service.AbstractRsmServiceEjb
com.retek.rsm.app.security.service.impl.SecurityServiceEjb
Field Summary |
Fields inherited from class com.retek.rsm.app.common.service.AbstractRsmServiceEjb |
LOG |
Fields inherited from interface com.retek.rsm.app.security.service.SecurityService |
serialVersionUID |
Constructor Summary | |
SecurityServiceEjb()
|
Method Summary | |
void |
authenticate(com.retek.platform.service.ClientContext context,
java.lang.String userName,
EncryptedTextVo encryptedPassword)
Authenticate a username and encrypted password against a system defined service. |
void |
authenticate(com.retek.platform.service.ClientContext context,
java.lang.String userName,
com.retek.platform.util.type.security.UserSignature signature)
Authenticate a userSignature. |
void |
ejbCreate()
|
java.util.Map |
findDataPermissions(com.retek.platform.service.ClientContext clientContext,
java.util.Set userVos,
com.retek.platform.app.security.service.Application application)
Retrieve a map of users to data permissions. |
java.util.Set |
findUserVos(com.retek.platform.service.ClientContext context,
UserSearchCriteria criteria)
Find a collection of users based on the UserSearchCriteria . |
java.util.Set |
findUserVosWithPermissions(com.retek.platform.service.ClientContext context,
java.util.Set permissions,
com.retek.platform.app.security.service.Application application)
Retrieve a set of users given a set of permissions |
boolean |
isUserNameValid(com.retek.platform.service.ClientContext context,
java.lang.String userName)
Validates that the userName is a valid user name on the authentication system. |
LoginCredentialsVo |
login(com.retek.platform.service.ClientContext context,
java.lang.String userName,
EncryptedTextVo encryptedPassword,
com.retek.platform.app.security.service.Application application,
PublicKeyEncryptionStrategyVo appLaunchParameterPasswordKey)
Authenticate a username and enrypted password against a system defined service and retrieve user information. |
LoginCredentialsVo |
login(com.retek.platform.service.ClientContext context,
java.lang.String userName,
com.retek.platform.util.type.security.UserSignature signature,
com.retek.platform.app.security.service.Application application)
Authenticate a username and signature and retrieve user information. |
LoginCredentialsWithContentModelVo |
loginAndGetContentModel(com.retek.platform.service.ClientContext context,
java.lang.String userName,
EncryptedTextVo encryptedPassword,
com.retek.platform.app.security.service.Application application)
Authenticate a username and encrypted password, retrieve user information and fetch the secure content model. |
LoginCredentialsWithContentModelVo |
loginAndGetContentModel(com.retek.platform.service.ClientContext context,
java.lang.String userName,
com.retek.platform.util.type.security.UserSignature signature,
com.retek.platform.app.security.service.Application application)
Authenticate a username and signature, retrieve user information and fetch the secure content model. |
PublicKeyEncryptionStrategyVo |
retrievePublicKeyEncryptionStrategy(com.retek.platform.service.ClientContext context)
Gets the public key encryption strategy value object. |
Methods inherited from class com.retek.rsm.app.common.service.AbstractRsmServiceEjb |
attachFallbackHandler, deleteReferences, destroyServiceContext, discardServiceContext, ejbActivate, ejbPassivate, ejbRemove, getFactory, getLocal, getLocalHome, getNextReference, getRemote, getRemoteHome, getSessionContext, initServiceContext, setSessionContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.retek.platform.service.Service |
attachFallbackHandler |
Constructor Detail |
public SecurityServiceEjb()
Method Detail |
public void ejbCreate() throws javax.ejb.CreateException
javax.ejb.CreateException
public void authenticate(com.retek.platform.service.ClientContext context, java.lang.String userName, EncryptedTextVo encryptedPassword) throws AuthenticationFailedException
SecurityService
authenticate
in interface SecurityService
AuthenticationFailedException
public void authenticate(com.retek.platform.service.ClientContext context, java.lang.String userName, com.retek.platform.util.type.security.UserSignature signature) throws AuthenticationFailedException
SecurityService
authenticate
in interface SecurityService
AuthenticationFailedException
public LoginCredentialsVo login(com.retek.platform.service.ClientContext context, java.lang.String userName, com.retek.platform.util.type.security.UserSignature signature, com.retek.platform.app.security.service.Application application) throws AuthenticationFailedException
SecurityService
login
in interface SecurityService
application
- -
The user will contain the permissions for the specified application.
AuthenticationFailedException
public LoginCredentialsVo login(com.retek.platform.service.ClientContext context, java.lang.String userName, EncryptedTextVo encryptedPassword, com.retek.platform.app.security.service.Application application, PublicKeyEncryptionStrategyVo appLaunchParameterPasswordKey) throws AuthenticationFailedException
SecurityService
login
in interface SecurityService
application
- -
The user will contain the permissions for the specified application.
AuthenticationFailedException
public LoginCredentialsWithContentModelVo loginAndGetContentModel(com.retek.platform.service.ClientContext context, java.lang.String userName, EncryptedTextVo encryptedPassword, com.retek.platform.app.security.service.Application application) throws AuthenticationFailedException
SecurityService
loginAndGetContentModel
in interface SecurityService
application
- -
The user will contain the permissions for the specified application.
AuthenticationFailedException
public LoginCredentialsWithContentModelVo loginAndGetContentModel(com.retek.platform.service.ClientContext context, java.lang.String userName, com.retek.platform.util.type.security.UserSignature signature, com.retek.platform.app.security.service.Application application) throws AuthenticationFailedException
SecurityService
loginAndGetContentModel
in interface SecurityService
application
- -
The user will contain the permissions for the specified application.
AuthenticationFailedException
public boolean isUserNameValid(com.retek.platform.service.ClientContext context, java.lang.String userName)
SecurityService
userName
is a valid user name on the authentication system.
isUserNameValid
in interface SecurityService
public PublicKeyEncryptionStrategyVo retrievePublicKeyEncryptionStrategy(com.retek.platform.service.ClientContext context)
SecurityService
retrievePublicKeyEncryptionStrategy
in interface SecurityService
public java.util.Set findUserVos(com.retek.platform.service.ClientContext context, UserSearchCriteria criteria) throws com.retek.platform.exception.RetekBusinessException
SecurityService
UserSearchCriteria
.
findUserVos
in interface SecurityService
com.retek.platform.exception.RetekBusinessException
public java.util.Set findUserVosWithPermissions(com.retek.platform.service.ClientContext context, java.util.Set permissions, com.retek.platform.app.security.service.Application application) throws com.retek.platform.exception.RetekBusinessException
SecurityService
findUserVosWithPermissions
in interface SecurityService
permissions
- -
A collection of Strings (permission names)application
- -
The application associated with the passed in permissions
com.retek.platform.exception.RetekBusinessException
public java.util.Map findDataPermissions(com.retek.platform.service.ClientContext clientContext, java.util.Set userVos, com.retek.platform.app.security.service.Application application) throws com.retek.platform.exception.RetekBusinessException
SecurityService
findDataPermissions
in interface SecurityService
userVos
- -
A set of UserVo objectsapplication
- -
The application associated with the passed in permissions
com.retek.platform.exception.RetekBusinessException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |