Package com.soffid.iam.service
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 accountUserDatacreateSharedAccountData(UserData data)Operation createSharedAccountData Created an account attributeCollection<AccessTree>findChildren(AccessTree puntEntrada)Operation findChildrenCollection<AccessTree>findEntryPoints(String name)Operation findEntryPoints Finds entry points by nameCollection<RoleAccount>findRoleAccounts()Operation findRoleAccountsAccessTreefindRoot()Operation findRootCollection<GroupUser>findUserGroupsByUserName()Operation findUserGroupsByUserNamePasswordgenerateAccountTemporaryPassword(Account account)Operation generateAccountTemporaryPassword Generates a temporary password for the accountList<UserData>getAccountAttributes(Account acc)Operation getAccountAttributes Get account attributesAccountgetAccountById(long id)Operation getAccountById Get accountStringgetClientHost()Operation getClientHostUsergetCurrentUser()Operation getCurrentUserDataTypegetDataTypeDescription(String systemName, String attName)Operation getDataTypeDescriptionSystemgetDispatcherInformation(String dispatcherCode)Operation getDispatcherInformationList<Account>getSharedAccounts(String filter)Operation getSharedAccounts Gets the list of shared accounts granted to the userCollection<Account>getUserAccounts()Operation getUserAccountsCollection<UserData>getUserAttributes()Operation getUserAttributesPasswordStatuspasswordsStatus(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 ownerUserDataupdateSharedAccountData(UserData data)Operation updateSharedAccountData Updates an account attributeUserDataupdateUserAttribute(UserData 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
UserData createSharedAccountData(UserData data) throws InternalErrorException
Operation createSharedAccountData Created an account attribute- Parameters:
data-- Returns:
- Throws:
InternalErrorException
-
updateSharedAccountData
UserData updateSharedAccountData(UserData data) throws InternalErrorException
Operation updateSharedAccountData Updates an account attribute- Parameters:
data-- Returns:
- Throws:
InternalErrorException
-
updateUserAttribute
UserData updateUserAttribute(UserData attribute) throws InternalErrorException
Operation updateUserAttribute- Parameters:
attribute-- Returns:
- Throws:
InternalErrorException
-
getDispatcherInformation
System getDispatcherInformation(String dispatcherCode) throws InternalErrorException, InternalErrorException
Operation getDispatcherInformation- Parameters:
dispatcherCode-- Returns:
- Throws:
InternalErrorException
-
passwordsStatus
PasswordStatus 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
AccessTree findRoot() throws InternalErrorException, InternalErrorException
Operation findRoot- Returns:
- Throws:
InternalErrorException
-
getDataTypeDescription
DataType getDataTypeDescription(String systemName, String attName) throws InternalErrorException
Operation getDataTypeDescription- Parameters:
systemName-attName-- Returns:
- Throws:
InternalErrorException
-
getCurrentUser
User getCurrentUser() throws InternalErrorException, InternalErrorException
Operation getCurrentUser- 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<AccessTree> findChildren(AccessTree puntEntrada) throws InternalErrorException, InternalErrorException
Operation findChildren- Parameters:
puntEntrada-- Returns:
- Throws:
InternalErrorException
-
findEntryPoints
Collection<AccessTree> findEntryPoints(String name) throws InternalErrorException, InternalErrorException
Operation findEntryPoints Finds entry points by name- Parameters:
name-- Returns:
- Throws:
InternalErrorException
-
findRoleAccounts
Collection<RoleAccount> findRoleAccounts() throws InternalErrorException, InternalErrorException
Operation findRoleAccounts- Returns:
- Throws:
InternalErrorException
-
findUserGroupsByUserName
Collection<GroupUser> findUserGroupsByUserName() throws InternalErrorException, InternalErrorException
Operation findUserGroupsByUserName- Returns:
- Throws:
InternalErrorException
-
getUserAccounts
Collection<Account> getUserAccounts() throws InternalErrorException, InternalErrorException
Operation getUserAccounts- Returns:
- Throws:
InternalErrorException
-
getUserAttributes
Collection<UserData> getUserAttributes() throws InternalErrorException
Operation getUserAttributes- Returns:
- Throws:
InternalErrorException
-
getAccountAttributes
List<UserData> 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
-
-