|
Generated by JDiff |
||||||||
| PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES | |||||||||
This file contains all the changes in documentation in the packageorg.cyclos.impl.accessas colored differences. Deletions are shownlike 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.
Checks if the confirmation wasClass DeviceConfirmationServiceLocal, TrustedDevice validate(long, long, String)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
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
Clears all the password failures for the given user and password type, either in normal or forgot password modeClass 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 ineitherthe newintransaction,normalafter the current transactionor forgot password mode.BlocksAlso returnsthe password if the maximumattempts haswasbeenactually reached, so callers can already do some logic regarding it.
Logs in the currentClass LoginServiceLocal, LoginData getLoginData(Channel, Long, PinLocatorVO)authenticated useruser.
If a device confirmation id,is givendevice id andcan beHMACvalidated correctlyare given then the following happen:session will be
- For authenticated users: If valid a trusted
marked ascreated whichtrustedmeans higher paymentmeaninglimitsnocould be applied, the confirmationpassword willpassword could berequiredskipped (there is a setting in the channel configuration), etc. Otherwise, the session (silently) won'tt bemarked as trustedtrusted and the confirmation password will be required according to the channel configuration.For guests: means a login with a trusted device is performing. For this case the session will be also trusted if the parameters are valid. Otherwise a LoginException will be thrown. 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.
Returns the data for user login according to the given channel.
Optionally, a trusted device id and pinidlocator can be given to know if they already exist and are active.
Returns both the Pin and its channel access configuration for the current channelby idif it is active: exists, not expired and active on channel. Otherwise, returns null.
Creates a new session according to the given session data and timeout.Class SessionHandler, boolean invalidate(String, String)
IfSeea device confirmation id is given and can be validated correctly thenthesession will be marked as trusted meaningJavadocnoforconfirmation password will be requiredLoginServiceLocal.doLogin(TimeInterval,OtherwiseLong,theLong,sessionString,(silentlyString)won't be marked as trusted and the confirmation password will be.required@seeaccordingLoginServiceLocal#doLogin(TimeInterval,toLong,theLong,channelString,configuration.String)
Invalidates the session with the given token, under the given remote address, returning whether theClass SessionHandler, Session login(String, String, TimeInterval, UserLocatorVO, String, Set<Group>)sessionssessions was actually invalidated.
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.