Package es.caib.seycon.ng.servei
Interface SelfService
-
public interface SelfServiceService SelfService
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcheckCanSetAccountPassword(Account account)Operation checkCanSetAccountPasswordvoidcheckinHPAccount(Account account)Operation checkinHPAccount Unlocks a high privileged accountDadaUsuaricreateSharedAccountData(DadaUsuari data)Operation createSharedAccountData Created an account attributeCollection<PuntEntrada>findChildren(PuntEntrada puntEntrada)Operation findChildrenCollection<PuntEntrada>findEntryPoints(String name)Operation findEntryPoints Finds entry points by nameCollection<RolAccount>findRolAccounts()Operation findRolAccountsPuntEntradafindRoot()Operation findRootCollection<UsuariGrup>findUsuariGrupsByCodiUsuari()Operation findUsuariGrupsByCodiUsuariPasswordgenerateAccountTemporaryPassword(Account account)Operation generateAccountTemporaryPassword Generates a temporary password for the accountList<DadaUsuari>getAccountAttributes(Account acc)Operation getAccountAttributes Get account attributesAccountgetAccountById(long id)Operation getAccountById Get accountStringgetClientHost()Operation getClientHostUsuarigetCurrentUsuari()Operation getCurrentUsuariTipusDadagetDataTypeDescription(String systemName, String attName)Operation getDataTypeDescriptionDispatchergetDispatcherInformation(String dispatcherCode)Operation getDispatcherInformationList<Account>getSharedAccounts(String filter)Operation getSharedAccounts Gets the list of shared accounts granted to the userCollection<Account>getUserAccounts()Operation getUserAccountsCollection<DadaUsuari>getUserAttributes()Operation getUserAttributesEstatContrasenyapasswordsStatus(Account account)Operation passwordsStatusPasswordqueryAccountPassword(Account account)Operation queryAccountPasswordPasswordqueryAccountPasswordBypassPolicy(Account account)Operation queryAccountPasswordBypassPolicyPasswordqueryAccountSshKey(Account account)Operation queryAccountSshKeyPasswordqueryAccountSshKeyBypassPolicy(Account account)Operation queryAccountSshKeyBypassPolicyStringqueryOtherAffectedAccounts(Account account)Operation queryOtherAffectedAccountsvoidsetAccountPassword(Account account, Password password)Operation setAccountPasswordbooleansetHPAccountPassword(Account account, Password password, Date untilDate, boolean force)Operation setHPAccountPasswordAccountupdateSharedAccount(Account account)Operation updateSharedAccount Updates an account, including ACLs if user is ownerDadaUsuariupdateSharedAccountData(DadaUsuari data)Operation updateSharedAccountData Updates an account attributeDadaUsuariupdateUserAttribute(DadaUsuari attribute)Operation updateUserAttribute
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
setHPAccountPassword
boolean setHPAccountPassword(Account account, Password password, Date untilDate, boolean force) throws InternalErrorException, InternalErrorException
Operation setHPAccountPassword- Parameters:
account-password-untilDate-force-- Returns:
- Throws:
InternalErrorException
-
getAccountById
Account getAccountById(long id) throws InternalErrorException
Operation getAccountById Get account- Parameters:
id-- Returns:
- Throws:
InternalErrorException
-
updateSharedAccount
Account updateSharedAccount(Account account) throws InternalErrorException
Operation updateSharedAccount Updates an account, including ACLs if user is owner- Parameters:
account-- Returns:
- Throws:
InternalErrorException
-
createSharedAccountData
DadaUsuari createSharedAccountData(DadaUsuari data) throws InternalErrorException
Operation createSharedAccountData Created an account attribute- Parameters:
data-- Returns:
- Throws:
InternalErrorException
-
updateSharedAccountData
DadaUsuari updateSharedAccountData(DadaUsuari data) throws InternalErrorException
Operation updateSharedAccountData Updates an account attribute- Parameters:
data-- Returns:
- Throws:
InternalErrorException
-
updateUserAttribute
DadaUsuari updateUserAttribute(DadaUsuari attribute) throws InternalErrorException
Operation updateUserAttribute- Parameters:
attribute-- Returns:
- Throws:
InternalErrorException
-
getDispatcherInformation
Dispatcher getDispatcherInformation(String dispatcherCode) throws InternalErrorException, InternalErrorException
Operation getDispatcherInformation- Parameters:
dispatcherCode-- Returns:
- Throws:
InternalErrorException
-
passwordsStatus
EstatContrasenya passwordsStatus(Account account) throws InternalErrorException, InternalErrorException
Operation passwordsStatus- Parameters:
account-- Returns:
- Throws:
InternalErrorException
-
generateAccountTemporaryPassword
Password generateAccountTemporaryPassword(Account account) throws InternalErrorException, InternalErrorException
Operation generateAccountTemporaryPassword Generates a temporary password for the account- Parameters:
account-- Returns:
- Throws:
InternalErrorException
-
queryAccountPassword
Password queryAccountPassword(Account account) throws InternalErrorException, InternalErrorException
Operation queryAccountPassword- Parameters:
account-- Returns:
- Throws:
InternalErrorException
-
queryAccountPasswordBypassPolicy
Password queryAccountPasswordBypassPolicy(Account account) throws InternalErrorException, InternalErrorException
Operation queryAccountPasswordBypassPolicy- Parameters:
account-- Returns:
- Throws:
InternalErrorException
-
queryAccountSshKey
Password queryAccountSshKey(Account account) throws InternalErrorException, InternalErrorException
Operation queryAccountSshKey- Parameters:
account-- Returns:
- Throws:
InternalErrorException
-
queryAccountSshKeyBypassPolicy
Password queryAccountSshKeyBypassPolicy(Account account) throws InternalErrorException, InternalErrorException
Operation queryAccountSshKeyBypassPolicy- Parameters:
account-- Returns:
- Throws:
InternalErrorException
-
findRoot
PuntEntrada findRoot() throws InternalErrorException, InternalErrorException
Operation findRoot- Returns:
- Throws:
InternalErrorException
-
getDataTypeDescription
TipusDada getDataTypeDescription(String systemName, String attName) throws InternalErrorException
Operation getDataTypeDescription- Parameters:
systemName-attName-- Returns:
- Throws:
InternalErrorException
-
getCurrentUsuari
Usuari getCurrentUsuari() throws InternalErrorException, InternalErrorException
Operation getCurrentUsuari- Returns:
- Throws:
InternalErrorException
-
getClientHost
String getClientHost() throws InternalErrorException, InternalErrorException
Operation getClientHost- Returns:
- Throws:
InternalErrorException
-
queryOtherAffectedAccounts
String queryOtherAffectedAccounts(Account account) throws InternalErrorException, InternalErrorException
Operation queryOtherAffectedAccounts- Parameters:
account-- Returns:
- Throws:
InternalErrorException
-
findChildren
Collection<PuntEntrada> findChildren(PuntEntrada puntEntrada) throws InternalErrorException, InternalErrorException
Operation findChildren- Parameters:
puntEntrada-- Returns:
- Throws:
InternalErrorException
-
findEntryPoints
Collection<PuntEntrada> findEntryPoints(String name) throws InternalErrorException, InternalErrorException
Operation findEntryPoints Finds entry points by name- Parameters:
name-- Returns:
- Throws:
InternalErrorException
-
findRolAccounts
Collection<RolAccount> findRolAccounts() throws InternalErrorException, InternalErrorException
Operation findRolAccounts- Returns:
- Throws:
InternalErrorException
-
findUsuariGrupsByCodiUsuari
Collection<UsuariGrup> findUsuariGrupsByCodiUsuari() throws InternalErrorException, InternalErrorException
Operation findUsuariGrupsByCodiUsuari- Returns:
- Throws:
InternalErrorException
-
getUserAccounts
Collection<Account> getUserAccounts() throws InternalErrorException, InternalErrorException
Operation getUserAccounts- Returns:
- Throws:
InternalErrorException
-
getUserAttributes
Collection<DadaUsuari> getUserAttributes() throws InternalErrorException
Operation getUserAttributes- Returns:
- Throws:
InternalErrorException
-
getAccountAttributes
List<DadaUsuari> getAccountAttributes(Account acc) throws InternalErrorException
Operation getAccountAttributes Get account attributes- Parameters:
acc-- Returns:
- Throws:
InternalErrorException
-
getSharedAccounts
List<Account> getSharedAccounts(String filter) throws InternalErrorException
Operation getSharedAccounts Gets the list of shared accounts granted to the user- Parameters:
filter-- Returns:
- Throws:
InternalErrorException
-
checkCanSetAccountPassword
void checkCanSetAccountPassword(Account account) throws InternalErrorException, InternalErrorException
Operation checkCanSetAccountPassword- Parameters:
account-- Throws:
InternalErrorException
-
checkinHPAccount
void checkinHPAccount(Account account) throws InternalErrorException, InternalErrorException
Operation checkinHPAccount Unlocks a high privileged account- Parameters:
account-- Throws:
InternalErrorException
-
setAccountPassword
void setAccountPassword(Account account, Password password) throws InternalErrorException, InternalErrorException
Operation setAccountPassword- Parameters:
account-password-- Throws:
InternalErrorException
-
-