Generated by
JDiff

org.cyclos.services.access Documentation Differences

This file contains all the changes in documentation in the package org.cyclos.services.access as colored differences. Deletions are shown like this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.

Class AgreementLogService

Service interface for agreement log operations @author luis @author glauber

Class AgreementService

Service interface for agreement operations @author luis @author glauber

Class DeviceConfirmationService, DeviceConfirmationApprovalData getApprovalData(long)

Return data for approve / reject device confirmations confirmations for the given device id @return

Class InitializationService, InitializationData getInitializationData(Long, PinLocatorVO)

Returns all data which is used when the application is loaded. If a trusted device id is given then a pending device confirmation will be created in a new (read-write) transaction and will be validated at login to create a trusted session. If a device pin's idlocator is given then information about if it's still exists will be returned.

Class LoginService, LoginData getLoginData(String, Long, PinLocatorVO)

Returns the data for user login according to the given channel name and based in the current session configuration. @param deviceId (Optional) A trusted device id can be given to know if it is operative, if so then a pending device confirmation will be created (in a new read-write transaction) and its id returned in the result data. Otherwise no confirmation will be created. @param pinIdpinLocator (Optional) A device pin idlocator can be given to know it it is operative
Class LoginService, UserLoginResult login(LoginDTO)

Creates a session for the currently authenticated user and optionally sets a timeout for it. Also, if an identity provider state id is given, and such state exists, the user that performed the login will be linked to that provider

Class PasswordService, ForgotPasswordRequestResponse forgotPasswordRequest(ForgotPasswordRequestDTO)

Initiates the forgot password operation, allowing the user to setsending a code either by anothere-mail password based on anor SMS to the e-mailuser. token andMay also require a security question verification. Returns the generatede-mail address of phone keynumbers the which is usedcode was sent to. The value will be masked if not the same one as requested completein the requestparams.

Class PinService, void remove(PinLocatorVO, CurrentCredentialsForPinManage)

Removes the given pin. For managers (admin / brokers) the Permission.USER_PINS_MANAGE permission must be granted. For the pin owner the action must be confirmed with the current login password for the current channel or the current pin. Only one of these is mandatory to be given. @param locator Optional if authenticated with a pin. Otherwise it must not be null.
Class PinService, CreatePinDTO set(SetPinParams)

Creates a new pin or modify an existing for the logged user and associates it to the current principal type andand password type. The result will contain the generated principal and a salt that must be prepended to the pin entered by the user when login. In case of a modification the current pin or login password must be given. @throws FrameworkException

Class TokenService, void assign(Long, UserLocatorVO)

SearchesAssigns for a token withpending the given typetoken to a anduser, value specifiedleaving it in the TokenActionDTOpending parameter. status The token's status must be TokenStatus.UNASSIGNED orTokenStatus.PENDING_ACTIVATION but assigned to the logged user or one of its operators. If the token is unassigned then this method assigns it to the user specified by the UserLocatorVO parameter and change its status to TokenStatus.ACTIVE. Otherwise (the token is already adssigend and is pending by activation) it activates only. This method can be used only by members (i.e. not administrators) with permission to activate the corresponding TokenPrincipalTypeVO. @see .activatePending(Long) for admins/brokers.
Class TokenService, <any> search(TokenQuery)

Searches for tokens. This operationmethod can only be doneuser by adminsadministrators or brokers over tokens of managed users.

Class TrustedDeviceService, ActivateTrustedDeviceDTO activate(TrustedDeviceActivationParams)

Activates thea trusted device withby the givencode or codeif a trusted device is required for activation then use the TrustedDeviceActivationParams.DEVICE_ID and TrustedDeviceActivationParams.DEVICE_CONFIRMATION_ID to ensure the loggedcorresponding device confirmation was useralready approved (using another trusted device).