Generated by
JDiff

org.cyclos.impl.access Documentation Differences

This file contains all the changes in documentation in the package org.cyclos.impl.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 DeviceConfirmationServiceLocal, TrustedDevice check(long, CreateDeviceConfirmationParams)

Checks if the confirmation was approvedAPPROVED and also its QR-content matches the generated from the CreateDeviceConfirmationParams parameter. Also, if the confirmation was found and is approved then it's removed. @throws InvalidDeviceConfirmationException if the confirmation was not found or is invalid. The possible values contained in the exception are: InvalidDeviceConfirmationResult.INVALID_CONFIRMATION and InvalidDeviceConfirmationResult.MAX_CHECK_ATTEMPTS_REACHED.
This method blocks the user if the max attempts was reached. @return the device used to approve the given confirmation
Class DeviceConfirmationServiceLocal, TrustedDevice validate(long, long, String)

Validates a PENDING confirmation with a device to ensure the device is a valid trusted device. This method perform the same validation as for .approve(long, long, String) but immediately remove the confirmation and do not send any push-notification if the validation success. @return the device associated to the given id

Class FailedActionHandler, void clearPasswordFailures(BasicUser, PasswordType, boolean)

Clears all the password failures for the given user and password type, either in normal or forgot password mode
Class FailedActionHandler, int countPasswordFailures(BasicUser, PasswordType, boolean)

Returns the number of password failures for the given user and password type, either in normal or forgot password mode.
Class FailedActionHandler, boolean recordPasswordFailure(BasicUser, PasswordType, boolean)

Registers a transaction end listener to actually record the password failure. If so, calls the onMaxReached in either the newin transaction,normal after the current transactionor forgot password mode. Blocks Also returnsthe password if the maximum attempts haswas beenactually reached, so callers can already do some logic regarding it.

Class LoginServiceLocal, <any> doLogin(TimeInterval, Long, Long, String, String)

Logs in the current authenticated user user.
If a device confirmation id, is givendevice id and can beHMAC validated correctlyare given then the following happen: Returns both the session and a reason if the linking with the identity provider was skipped (e.g for being a global user in a network identity provider). A null reason means the linking was made.
Class LoginServiceLocal, LoginData getLoginData(Channel, Long, PinLocatorVO)

Returns the data for user login according to the given channel.
Optionally, a trusted device id and pin idlocator can be given to know if they already exist and are active.

Class PinServiceLocal, <any> getIfActive(PinLocatorVO, Channel)

Returns both the Pin and its channel access configuration for the current channel by id if it is active: exists, not expired and active on channel. Otherwise, returns null.

Class SessionHandler, Session create(CreateSessionParameters)

Creates a new session according to the given session data and timeout.
IfSee a device confirmation id is given and can be validated correctly then the session will be marked as trusted meaningJavadoc nofor confirmation password will be requiredLoginServiceLocal.doLogin(TimeInterval, OtherwiseLong, theLong, sessionString, (silentlyString) won't be marked as trusted and the confirmation password will be. required@see accordingLoginServiceLocal#doLogin(TimeInterval, toLong, theLong, channelString, configuration.String)
Class SessionHandler, boolean invalidate(String, String)

Invalidates the session with the given token, under the given remote address, returning whether the sessionssessions was actually invalidated.
Class SessionHandler, Session login(String, String, TimeInterval, UserLocatorVO, String, Set<Group>)

Performs a login. Checks the remote address blocking by exceeding invalid username attempts, and creates a session. When allowedGroups is null, allows any group to login. Otherwise, retrict login to users of these groups.