com.retek.rsm.domain.security.service.impl
Class SecurityCoreServiceImpl
java.lang.Object
|
+--com.retek.platform.service.AbstractService
|
+--com.retek.rsm.domain.security.service.impl.SecurityCoreServiceImpl
- All Implemented Interfaces:
- SecurityCoreService, com.retek.platform.service.Service
- public class SecurityCoreServiceImpl
- extends com.retek.platform.service.AbstractService
- implements SecurityCoreService
Fields inherited from class com.retek.platform.service.AbstractService |
LOG |
Fields inherited from interface com.retek.platform.service.Service |
serialVersionUID |
Method Summary |
void |
authenticate(java.lang.String userName,
EncryptedText encryptedPassword)
Authenticate the username and password with the security provider. |
void |
authenticate(java.lang.String userName,
com.retek.platform.util.type.security.UserSignature userSignature)
Authenticate the userSignature. |
com.retek.platform.bo.BusinessObject |
create(java.lang.Class businessObjectInterface)
Creates a new business object for the given business object interface. |
java.util.Set |
find(com.retek.platform.util.type.SearchCriteria criteria)
Find the set of BusinessObject objects based on the
SearchCriteria . |
com.retek.platform.app.security.contentmodel.ContentModel |
getSecureContentModel(RetekPermissions permissions,
com.retek.platform.app.security.service.Application application)
|
boolean |
isUserNameValid(java.lang.String userName)
Validates that the userName is a valid user name on the authentication system. |
com.retek.platform.util.type.security.SecureUser |
readSecureUser(java.lang.String userName)
|
Methods inherited from class com.retek.platform.service.AbstractService |
attachFallbackHandler, executeRule, executeRule, getFallbackHandler, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.retek.platform.service.Service |
attachFallbackHandler |
SecurityCoreServiceImpl
public SecurityCoreServiceImpl()
authenticate
public void authenticate(java.lang.String userName,
EncryptedText encryptedPassword)
throws AuthenticationFailedException
- Description copied from interface:
SecurityCoreService
- Authenticate the username and password with the security provider.
- Specified by:
authenticate
in interface SecurityCoreService
- Parameters:
userName
- The user's login name.
- Throws:
AuthenticationFailedException
- Thrown if the user name and/or password is invalid.
LockedUserAccountException
Thrown if the user's account is locked
authenticate
public void authenticate(java.lang.String userName,
com.retek.platform.util.type.security.UserSignature userSignature)
throws AuthenticationFailedException
- Description copied from interface:
SecurityCoreService
- Authenticate the userSignature.
- Specified by:
authenticate
in interface SecurityCoreService
- Parameters:
userName
- The user's login name.userSignature
- The user's signature.
- Throws:
AuthenticationFailedException
- Thrown if the user name and/or signature is invalid.
LockedUserAccountException
Thrown if the user's account is locked
isUserNameValid
public boolean isUserNameValid(java.lang.String userName)
- Description copied from interface:
SecurityCoreService
- Validates that the
userName
is a valid user name on the authentication system.
- Specified by:
isUserNameValid
in interface SecurityCoreService
find
public java.util.Set find(com.retek.platform.util.type.SearchCriteria criteria)
- Description copied from interface:
SecurityCoreService
- Find the set of
BusinessObject
objects based on the
SearchCriteria
.
- Specified by:
find
in interface SecurityCoreService
readSecureUser
public com.retek.platform.util.type.security.SecureUser readSecureUser(java.lang.String userName)
- Specified by:
readSecureUser
in interface SecurityCoreService
getSecureContentModel
public com.retek.platform.app.security.contentmodel.ContentModel getSecureContentModel(RetekPermissions permissions,
com.retek.platform.app.security.service.Application application)
- Specified by:
getSecureContentModel
in interface SecurityCoreService
create
public com.retek.platform.bo.BusinessObject create(java.lang.Class businessObjectInterface)
- Description copied from interface:
SecurityCoreService
- Creates a new business object for the given business object interface.
- Specified by:
create
in interface SecurityCoreService