com.retek.rsm.domain.security.service
Interface SecurityCoreService

All Superinterfaces:
com.retek.platform.service.Service
All Known Implementing Classes:
SecurityCoreServiceImpl

public interface SecurityCoreService
extends com.retek.platform.service.Service


Field Summary
 
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 signature)
          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 interface com.retek.platform.service.Service
attachFallbackHandler
 

Method Detail

authenticate

public void authenticate(java.lang.String userName,
                         EncryptedText encryptedPassword)
                  throws AuthenticationFailedException
Authenticate the username and password with the security provider.

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 signature)
                  throws AuthenticationFailedException
Authenticate the userSignature.

Parameters:
userName - The user's login name.
signature - 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)
Validates that the userName is a valid user name on the authentication system.


find

public java.util.Set find(com.retek.platform.util.type.SearchCriteria criteria)
Find the set of BusinessObject objects based on the SearchCriteria.


readSecureUser

public com.retek.platform.util.type.security.SecureUser readSecureUser(java.lang.String userName)

getSecureContentModel

public com.retek.platform.app.security.contentmodel.ContentModel getSecureContentModel(RetekPermissions permissions,
                                                                                       com.retek.platform.app.security.service.Application application)

create

public com.retek.platform.bo.BusinessObject create(java.lang.Class businessObjectInterface)
Creates a new business object for the given business object interface.