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 AbstractSessionData, ProductsAccessor doGetProducts()

Must be implemented to returnareturn a a valid ProductsAccessor

Class FailedActionHandler, boolean recordPasswordFailure(BasicUser, PasswordType, Integer, String, Runnable)

Registers a transaction end listener to actually record the password failure. If so, calls the onMaxReached inin the new transaction, after the current transaction. Also returns if the maximum attempts has been reached, so callers can already do some logic regarding it.
Class FailedActionHandler, boolean recordPrincipalFailure(String, UserLocatorVO, Integer, TimeInterval)

Registers a transaction end listener to actually record the principal failure. If so, calls the listener in thethe new transaction, after the current transaction. Also returns if the maximum attempts has been reached, so callers can already do some logic regarding it.
Class FailedActionHandler, boolean recordUserActionFailure(FailedAction, BasicUser, Integer, Runnable)

Registers a transaction end listener to actually record the user action failure. If so, calls the onMaxReached inin the new transaction, after the current transaction. Also returns if the maximum attempts has been reached, so callers can already do some logic regarding it.

Class PasswordServiceLocal, String create(BasicUser, PasswordType, String, PasswordStatus)

Creates a password for the given user and password type. When the given password is null, a value is generated ifif status is active. Returns the plain value @throws IllegalActionException When the given password type doesn't apply to the given user or the passwordpassword should be generated
Class PasswordServiceLocal, PasswordData getData(BasicUser, PasswordType)

Returns the PasswordData for the given user and password type. Returns null if the user has no access toto the given password type
Class PasswordServiceLocal, <any> getPasswordAndStatus(BasicUser, PasswordType)

Returns the status and the password record for the given user and password type. The returned status may bebe different from the one in the password. For example, the password might have never been created (will be null) or there could be one of thethe calculated statuses, like blocked or expired.

Class PrincipalTypeServiceLocal, List<TokenPrincipalType> listActivatableTokenPrincipalTypes(User, boolean)

Returns a list with the Token principal types of type TokenType.NFC_TAG available for activation (akaaka personalization) for the specified user. @param user It it null then return all available for personalization for the logged user. Otherwise the result isis restricted only for those enabled for the user. @param asUserManager if true then the list of token principal types allowed to personalize are returned (See UserManagementProduct.getUserTokenTypes()). Otherwise the available principal types for activation (asas user) are returned (See MemberProduct.getActivateUserTokenTypes()).
Class PrincipalTypeServiceLocal, List<PrincipalType> listForConfiguration(ConfigurationAccessor, PrincipalTypeContext)

Returns the principal types which can be related to channels ofused on channel configurations under the given configuration, optionally including NFC-based tokenscontext

Class ScriptSessionData

Session data used to run scripts.
Will wrapIt wraps another SessionData preserving the logged user. ItIf it must run as system then it has all permissions and it's arelated SystemSessionDatato butall preservingusers (like system does). Otherwise it behaves as the loggedwrapped user session. @author luis @author ameyer

Class SessionData, AccessClient getAccessClient()

Return the current access client only if .getPrincipalType() return an instance ofof AccessClientPrincipalType. Otherwise it returns null.
Class SessionData, Token getToken()

Return the current token only if .getPrincipalType() return an instance of TokenPrincipalType. Otherwise it returns null.

Class SessionHandler, Session login(String, String, UserLocatorVO, String)

Performs a login. Checks the remote address blocking by exceeding invalid username attempts, and creates aa session
Class SessionHandler, int remove(Collection<String>)

Removes (both from the shared map and from the database) sessions with the given tokens, returning the number ofof actually deleted sessions

Class TokenServiceLocal, void validateNFCChallenge(String)

Validates the challenge received from a NFC tag/device ensuring it's the same as the previously generated byby Cyclos. @param challenge the HEXA string send back by a NFC tag/device.

Class UserChannelServiceLocal, boolean enableChannel(User, Channel)

Makes sure that the given channel is enabled for the given user. Returns false when the channel cannot be enabledenabled (is disabled by the configuration)