Package com.soffid.iam.service
Interface SelfService
-
public interface SelfService
Service SelfService
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
checkCanSetAccountPassword(Account account)
Operation checkCanSetAccountPasswordvoid
checkinHPAccount(Account account)
Operation checkinHPAccount Unlocks a high privileged accountUserData
createSharedAccountData(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 findRoleAccountsAccessTree
findRoot()
Operation findRootCollection<GroupUser>
findUserGroupsByUserName()
Operation findUserGroupsByUserNamePassword
generateAccountTemporaryPassword(Account account)
Operation generateAccountTemporaryPassword Generates a temporary password for the accountList<UserData>
getAccountAttributes(Account acc)
Operation getAccountAttributes Get account attributesAccount
getAccountById(long id)
Operation getAccountById Get accountString
getClientHost()
Operation getClientHostUser
getCurrentUser()
Operation getCurrentUserDataType
getDataTypeDescription(String systemName, String attName)
Operation getDataTypeDescriptionSystem
getDispatcherInformation(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 getUserAttributesPasswordStatus
passwordsStatus(Account account)
Operation passwordsStatusPassword
queryAccountPassword(Account account)
Operation queryAccountPasswordPassword
queryAccountPasswordBypassPolicy(Account account)
Operation queryAccountPasswordBypassPolicyPassword
queryAccountSshKey(Account account)
Operation queryAccountSshKeyPassword
queryAccountSshKeyBypassPolicy(Account account)
Operation queryAccountSshKeyBypassPolicyString
queryOtherAffectedAccounts(Account account)
Operation queryOtherAffectedAccountsvoid
setAccountPassword(Account account, Password password)
Operation setAccountPasswordboolean
setHPAccountPassword(Account account, Password password, Date untilDate, boolean force)
Operation setHPAccountPasswordAccount
updateSharedAccount(Account account)
Operation updateSharedAccount Updates an account, including ACLs if user is ownerUserData
updateSharedAccountData(UserData data)
Operation updateSharedAccountData Updates an account attributeUserData
updateUserAttribute(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
-
-