Package com.soffid.iam.service.ejb
Class AccountServiceBean
- java.lang.Object
-
- org.springframework.ejb.support.AbstractStatelessSessionBean
-
- com.soffid.iam.service.ejb.AccountServiceBean
-
- All Implemented Interfaces:
com.soffid.iam.service.ejb.AccountService
,Serializable
,javax.ejb.EnterpriseBean
,javax.ejb.SessionBean
,org.springframework.ejb.support.SmartSessionBean
public class AccountServiceBean extends org.springframework.ejb.support.AbstractStatelessSessionBean implements com.soffid.iam.service.ejb.AccountService
- See Also:
com.soffid.iam.service.AccountService
,,es.caib.seycon.ng.servei.AccountService
,, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
BEAN_FACTORY_PATH_ENVIRONMENT_KEY
-
Constructor Summary
Constructors Constructor Description AccountServiceBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkinHPAccount(com.soffid.iam.api.Account account)
com.soffid.iam.api.PasswordValidation
checkPasswordSynchronizationStatus(com.soffid.iam.api.Account account)
com.soffid.iam.api.Account
createAccount(com.soffid.iam.api.Account account)
com.soffid.iam.api.UserAccount
createAccount(com.soffid.iam.api.User usuari, com.soffid.iam.api.System dispatcher, String name)
com.soffid.iam.api.Account
createAccount2(com.soffid.iam.api.Account account)
com.soffid.iam.api.UserData
createAccountAttribute(com.soffid.iam.api.UserData attribute)
com.soffid.iam.api.AsyncProcessTracker
disableAccounts(String scimQuery, List<com.soffid.iam.api.DisableObjectRule> rules)
com.soffid.iam.api.AsyncProcessTracker
disableAccountsPreview(String scimQuery, List<com.soffid.iam.api.DisableObjectRule> rules, List<Object[]> actions)
void
ejbCreate()
Initizlizes beenvoid
ejbRemove()
com.soffid.iam.api.Account
findAccount(String accountAndDispatcher)
com.soffid.iam.api.Account
findAccount(String accountName, String dispatcherName)
com.soffid.iam.api.Account
findAccountById(long id)
Collection<com.soffid.iam.api.Account>
findAccountByJsonQuery(String query)
com.soffid.iam.api.PagedResult<com.soffid.iam.api.Account>
findAccountByJsonQuery(String query, Integer first, Integer num)
com.soffid.iam.api.AsyncList<com.soffid.iam.api.Account>
findAccountByJsonQueryAsync(String query)
Collection<com.soffid.iam.api.Account>
findAccountByText(String text)
com.soffid.iam.api.PagedResult<com.soffid.iam.api.Account>
findAccountByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize)
com.soffid.iam.api.AsyncList<com.soffid.iam.api.Account>
findAccountByTextAndJsonQueryAsync(String text, String jsonQuery)
com.soffid.iam.api.AsyncList<com.soffid.iam.api.Account>
findAccountByTextAsync(String text)
List<com.soffid.iam.api.Account>
findAccountsByCriteria(es.caib.seycon.ng.comu.AccountCriteria criteria)
Collection<com.soffid.iam.api.HostService>
findAccountServices(com.soffid.iam.api.Account account)
List<com.soffid.iam.api.Account>
findSharedAccountsByUser(String userName)
List<com.soffid.iam.api.AccountHistory>
findSharedAccountsHistoryByUser(String userName)
List<com.soffid.iam.api.UserAccount>
findUserAccountsByDomain(String user, String passwordDomain)
List<com.soffid.iam.api.UserAccount>
findUsersAccounts(String userName, String dispatcherName)
com.soffid.iam.api.Password
generateAccountPassword(com.soffid.iam.api.Account account)
com.soffid.iam.api.Account
generateAccountSshPrivateKey(com.soffid.iam.api.Account account)
com.soffid.iam.api.Password
generateAccountTemporaryPassword(com.soffid.iam.api.Account account)
List<com.soffid.iam.api.UserData>
getAccountAttributes(com.soffid.iam.api.Account acc)
protected org.springframework.beans.factory.BeanFactory
getBeanFactory()
com.soffid.iam.api.User
getHPAccountOwner(com.soffid.iam.api.Account account)
javax.ejb.SessionContext
getSessionContext()
Collection<com.soffid.iam.api.UserAccount>
getUserAccounts(com.soffid.iam.api.User usuari)
Collection<com.soffid.iam.api.Account>
getUserGrantedAccounts(com.soffid.iam.api.User usuari)
Collection<com.soffid.iam.api.Account>
getUserGrantedAccounts(com.soffid.iam.api.User usuari, es.caib.seycon.ng.comu.AccountAccessLevelEnum level)
String
guessAccountName(String userName, String dispatcherName)
boolean
hasAccountSshKey(com.soffid.iam.api.Account account)
boolean
isAccountPasswordAvailable(long accountId)
boolean
isUpdatePending(com.soffid.iam.api.Account account)
int
isUpdatePendingExtended(com.soffid.iam.api.Account account)
List<com.soffid.iam.api.Account>
listNonUserAccounts(com.soffid.iam.api.System dispatcher, String nom)
List<com.soffid.iam.api.UserAccount>
listUserAccounts(com.soffid.iam.api.User usuari)
boolean
needsAccount(String userName, String dispatcherName)
protected void
onEjbCreate()
protected void
onEjbRemove()
com.soffid.iam.api.Password
queryAccountPassword(com.soffid.iam.api.Account account)
com.soffid.iam.api.Password
queryAccountSshKey(com.soffid.iam.api.Account account)
void
removeAccount(com.soffid.iam.api.Account account)
void
removeAccount(com.soffid.iam.api.UserAccount account)
void
removeAccountAttribute(com.soffid.iam.api.UserData attribute)
com.soffid.iam.api.Account
removeAccountSnapshot(com.soffid.iam.api.Account account)
void
renameAccount(com.soffid.iam.api.Account account)
void
sendAccountPassword(com.soffid.iam.api.Account account)
void
setAccountPassword(com.soffid.iam.api.Account account, com.soffid.iam.api.Password password)
com.soffid.iam.api.Password
setAccountPassword(com.soffid.iam.api.Account account, com.soffid.iam.api.Password password, boolean temporary, boolean online)
com.soffid.iam.api.Account
setAccountSshPrivateKey(com.soffid.iam.api.Account account, String privateKey)
void
setAccountTemporaryPassword(com.soffid.iam.api.Account account, com.soffid.iam.api.Password password)
void
setBeanFactoryLocator(org.springframework.beans.factory.access.BeanFactoryLocator arg0)
void
setBeanFactoryLocatorKey(String arg0)
boolean
setHPAccountPassword(com.soffid.iam.api.Account account, com.soffid.iam.api.Password password, Date untilDate, boolean force)
void
setSessionContext(javax.ejb.SessionContext sessionContext)
Override default BeanFactoryLocator implementation to provide singleton loading of the application context Bean factory.com.soffid.iam.api.Account
updateAccount(com.soffid.iam.api.Account account)
com.soffid.iam.api.Account
updateAccount2(com.soffid.iam.api.Account account)
com.soffid.iam.api.UserData
updateAccountAttribute(com.soffid.iam.api.UserData attribute)
-
Methods inherited from class org.springframework.ejb.support.AbstractStatelessSessionBean
ejbActivate, ejbPassivate
-
-
-
-
Field Detail
-
BEAN_FACTORY_PATH_ENVIRONMENT_KEY
public static final String BEAN_FACTORY_PATH_ENVIRONMENT_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
hasAccountSshKey
@PermitAll public boolean hasAccountSshKey(com.soffid.iam.api.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
hasAccountSshKey
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
isAccountPasswordAvailable
@PermitAll public boolean isAccountPasswordAvailable(long accountId) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
isAccountPasswordAvailable
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
isUpdatePending
@PermitAll public boolean isUpdatePending(com.soffid.iam.api.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
isUpdatePending
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
needsAccount
@PermitAll public boolean needsAccount(String userName, String dispatcherName) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
needsAccount
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
setHPAccountPassword
@PermitAll public boolean setHPAccountPassword(com.soffid.iam.api.Account account, com.soffid.iam.api.Password password, Date untilDate, boolean force) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
setHPAccountPassword
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findAccountByJsonQueryAsync
@PermitAll public com.soffid.iam.api.AsyncList<com.soffid.iam.api.Account> findAccountByJsonQueryAsync(String query) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findAccountByJsonQueryAsync
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findAccountByTextAndJsonQueryAsync
@PermitAll public com.soffid.iam.api.AsyncList<com.soffid.iam.api.Account> findAccountByTextAndJsonQueryAsync(String text, String jsonQuery) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findAccountByTextAndJsonQueryAsync
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findAccountByTextAsync
@PermitAll public com.soffid.iam.api.AsyncList<com.soffid.iam.api.Account> findAccountByTextAsync(String text) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findAccountByTextAsync
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
disableAccounts
@PermitAll public com.soffid.iam.api.AsyncProcessTracker disableAccounts(String scimQuery, List<com.soffid.iam.api.DisableObjectRule> rules) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
disableAccounts
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
disableAccountsPreview
@PermitAll public com.soffid.iam.api.AsyncProcessTracker disableAccountsPreview(String scimQuery, List<com.soffid.iam.api.DisableObjectRule> rules, List<Object[]> actions) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
disableAccountsPreview
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findAccountByJsonQuery
@PermitAll public com.soffid.iam.api.PagedResult<com.soffid.iam.api.Account> findAccountByJsonQuery(String query, Integer first, Integer num) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findAccountByJsonQuery
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findAccountByTextAndJsonQuery
@PermitAll public com.soffid.iam.api.PagedResult<com.soffid.iam.api.Account> findAccountByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findAccountByTextAndJsonQuery
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
createAccount
@PermitAll public com.soffid.iam.api.Account createAccount(com.soffid.iam.api.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.AccountAlreadyExistsException
- Specified by:
createAccount
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
es.caib.seycon.ng.exception.AccountAlreadyExistsException
-
createAccount2
@PermitAll public com.soffid.iam.api.Account createAccount2(com.soffid.iam.api.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.AccountAlreadyExistsException
- Specified by:
createAccount2
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
es.caib.seycon.ng.exception.AccountAlreadyExistsException
-
findAccount
@PermitAll public com.soffid.iam.api.Account findAccount(String accountAndDispatcher) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findAccount
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findAccount
@PermitAll public com.soffid.iam.api.Account findAccount(String accountName, String dispatcherName) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findAccount
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findAccountById
@PermitAll public com.soffid.iam.api.Account findAccountById(long id) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findAccountById
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
generateAccountSshPrivateKey
@PermitAll public com.soffid.iam.api.Account generateAccountSshPrivateKey(com.soffid.iam.api.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
generateAccountSshPrivateKey
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
removeAccountSnapshot
@PermitAll public com.soffid.iam.api.Account removeAccountSnapshot(com.soffid.iam.api.Account account) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
removeAccountSnapshot
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
setAccountSshPrivateKey
@PermitAll public com.soffid.iam.api.Account setAccountSshPrivateKey(com.soffid.iam.api.Account account, String privateKey) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
setAccountSshPrivateKey
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
updateAccount
@PermitAll public com.soffid.iam.api.Account updateAccount(com.soffid.iam.api.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.AccountAlreadyExistsException
- Specified by:
updateAccount
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
es.caib.seycon.ng.exception.AccountAlreadyExistsException
-
updateAccount2
@PermitAll public com.soffid.iam.api.Account updateAccount2(com.soffid.iam.api.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.AccountAlreadyExistsException
- Specified by:
updateAccount2
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
es.caib.seycon.ng.exception.AccountAlreadyExistsException
-
createAccountAttribute
@PermitAll public com.soffid.iam.api.UserData createAccountAttribute(com.soffid.iam.api.UserData attribute) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
createAccountAttribute
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
updateAccountAttribute
@PermitAll public com.soffid.iam.api.UserData updateAccountAttribute(com.soffid.iam.api.UserData attribute) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
updateAccountAttribute
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
generateAccountPassword
@PermitAll public com.soffid.iam.api.Password generateAccountPassword(com.soffid.iam.api.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
generateAccountPassword
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
generateAccountTemporaryPassword
@PermitAll public com.soffid.iam.api.Password generateAccountTemporaryPassword(com.soffid.iam.api.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
generateAccountTemporaryPassword
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
queryAccountPassword
@PermitAll public com.soffid.iam.api.Password queryAccountPassword(com.soffid.iam.api.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
queryAccountPassword
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
queryAccountSshKey
@PermitAll public com.soffid.iam.api.Password queryAccountSshKey(com.soffid.iam.api.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
queryAccountSshKey
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
setAccountPassword
@PermitAll public com.soffid.iam.api.Password setAccountPassword(com.soffid.iam.api.Account account, com.soffid.iam.api.Password password, boolean temporary, boolean online) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.BadPasswordException
- Specified by:
setAccountPassword
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
es.caib.seycon.ng.exception.BadPasswordException
-
checkPasswordSynchronizationStatus
@PermitAll public com.soffid.iam.api.PasswordValidation checkPasswordSynchronizationStatus(com.soffid.iam.api.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
checkPasswordSynchronizationStatus
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
createAccount
@PermitAll public com.soffid.iam.api.UserAccount createAccount(com.soffid.iam.api.User usuari, com.soffid.iam.api.System dispatcher, String name) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.NeedsAccountNameException, es.caib.seycon.ng.exception.AccountAlreadyExistsException
- Specified by:
createAccount
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
es.caib.seycon.ng.exception.NeedsAccountNameException
es.caib.seycon.ng.exception.AccountAlreadyExistsException
-
getHPAccountOwner
@PermitAll public com.soffid.iam.api.User getHPAccountOwner(com.soffid.iam.api.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getHPAccountOwner
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
isUpdatePendingExtended
@PermitAll public int isUpdatePendingExtended(com.soffid.iam.api.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
isUpdatePendingExtended
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
guessAccountName
@PermitAll public String guessAccountName(String userName, String dispatcherName) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
guessAccountName
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findAccountByJsonQuery
@PermitAll public Collection<com.soffid.iam.api.Account> findAccountByJsonQuery(String query) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findAccountByJsonQuery
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findAccountByText
@PermitAll public Collection<com.soffid.iam.api.Account> findAccountByText(String text) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findAccountByText
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findAccountServices
@PermitAll public Collection<com.soffid.iam.api.HostService> findAccountServices(com.soffid.iam.api.Account account) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findAccountServices
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getUserAccounts
@PermitAll public Collection<com.soffid.iam.api.UserAccount> getUserAccounts(com.soffid.iam.api.User usuari) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getUserAccounts
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getUserGrantedAccounts
@PermitAll public Collection<com.soffid.iam.api.Account> getUserGrantedAccounts(com.soffid.iam.api.User usuari) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getUserGrantedAccounts
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getUserGrantedAccounts
@PermitAll public Collection<com.soffid.iam.api.Account> getUserGrantedAccounts(com.soffid.iam.api.User usuari, es.caib.seycon.ng.comu.AccountAccessLevelEnum level) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getUserGrantedAccounts
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findAccountsByCriteria
@PermitAll public List<com.soffid.iam.api.Account> findAccountsByCriteria(es.caib.seycon.ng.comu.AccountCriteria criteria) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findAccountsByCriteria
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findSharedAccountsByUser
@PermitAll public List<com.soffid.iam.api.Account> findSharedAccountsByUser(String userName) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findSharedAccountsByUser
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findSharedAccountsHistoryByUser
@PermitAll public List<com.soffid.iam.api.AccountHistory> findSharedAccountsHistoryByUser(String userName) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findSharedAccountsHistoryByUser
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findUsersAccounts
@PermitAll public List<com.soffid.iam.api.UserAccount> findUsersAccounts(String userName, String dispatcherName) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findUsersAccounts
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findUserAccountsByDomain
@PermitAll public List<com.soffid.iam.api.UserAccount> findUserAccountsByDomain(String user, String passwordDomain) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findUserAccountsByDomain
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getAccountAttributes
@PermitAll public List<com.soffid.iam.api.UserData> getAccountAttributes(com.soffid.iam.api.Account acc) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getAccountAttributes
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
listNonUserAccounts
@PermitAll public List<com.soffid.iam.api.Account> listNonUserAccounts(com.soffid.iam.api.System dispatcher, String nom) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
listNonUserAccounts
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
listUserAccounts
@PermitAll public List<com.soffid.iam.api.UserAccount> listUserAccounts(com.soffid.iam.api.User usuari) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
listUserAccounts
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
checkinHPAccount
@PermitAll public void checkinHPAccount(com.soffid.iam.api.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
checkinHPAccount
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
removeAccount
@PermitAll public void removeAccount(com.soffid.iam.api.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
removeAccount
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
removeAccount
@PermitAll public void removeAccount(com.soffid.iam.api.UserAccount account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
removeAccount
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
removeAccountAttribute
@PermitAll public void removeAccountAttribute(com.soffid.iam.api.UserData attribute) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
removeAccountAttribute
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
renameAccount
@PermitAll public void renameAccount(com.soffid.iam.api.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.AccountAlreadyExistsException
- Specified by:
renameAccount
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
es.caib.seycon.ng.exception.AccountAlreadyExistsException
-
sendAccountPassword
@PermitAll public void sendAccountPassword(com.soffid.iam.api.Account account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.BadPasswordException
- Specified by:
sendAccountPassword
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
es.caib.seycon.ng.exception.BadPasswordException
-
setAccountPassword
@PermitAll public void setAccountPassword(com.soffid.iam.api.Account account, com.soffid.iam.api.Password password) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.BadPasswordException
- Specified by:
setAccountPassword
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
es.caib.seycon.ng.exception.BadPasswordException
-
setAccountTemporaryPassword
@PermitAll public void setAccountTemporaryPassword(com.soffid.iam.api.Account account, com.soffid.iam.api.Password password) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.BadPasswordException
- Specified by:
setAccountTemporaryPassword
in interfacecom.soffid.iam.service.ejb.AccountService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
es.caib.seycon.ng.exception.BadPasswordException
-
ejbCreate
@PostConstruct public void ejbCreate() throws javax.ejb.CreateException
Initizlizes been- Overrides:
ejbCreate
in classorg.springframework.ejb.support.AbstractStatelessSessionBean
- Throws:
javax.ejb.CreateException
- See Also:
AbstractStatelessSessionBean.onEjbCreate()
-
onEjbCreate
protected void onEjbCreate()
- Specified by:
onEjbCreate
in classorg.springframework.ejb.support.AbstractStatelessSessionBean
-
setSessionContext
public void setSessionContext(javax.ejb.SessionContext sessionContext)
Override default BeanFactoryLocator implementation to provide singleton loading of the application context Bean factory.- Specified by:
setSessionContext
in interfacejavax.ejb.SessionBean
- See Also:
SessionBean.setSessionContext(javax.ejb.SessionContext)
-
getSessionContext
public final javax.ejb.SessionContext getSessionContext()
- Specified by:
getSessionContext
in interfaceorg.springframework.ejb.support.SmartSessionBean
-
setBeanFactoryLocator
public void setBeanFactoryLocator(org.springframework.beans.factory.access.BeanFactoryLocator arg0)
-
setBeanFactoryLocatorKey
public void setBeanFactoryLocatorKey(String arg0)
-
getBeanFactory
protected org.springframework.beans.factory.BeanFactory getBeanFactory()
-
ejbRemove
public void ejbRemove()
-
onEjbRemove
protected void onEjbRemove()
-
-