Uses of Interface
com.flexive.shared.security.UserTicket

Packages that use UserTicket
com.flexive.shared Shared classes used by all flexive modules. 
com.flexive.shared.content Classes for representing flexive contents, most notable FxContent and FxPK
com.flexive.shared.exceptions Custom application exceptions which supported translated exception messages through resource bundles. 
com.flexive.shared.interfaces Local and remote interfaces of the flexive EJB engines. 
com.flexive.shared.security Data classes for flexive's security layer, like ACLs or roles. 
com.flexive.shared.value Multilingual value types for flexive contents. 
 

Uses of UserTicket in com.flexive.shared
 

Methods in com.flexive.shared that return UserTicket
 UserTicket FxContext.getTicket()
           
static UserTicket FxContext.getTicketFromEJB(javax.servlet.http.HttpSession session)
          Gets the user ticket from the ejb layer, and stores it in the session as 'last used user ticket'
static UserTicket FxContext.getUserTicket()
          Returns the user ticket associated to the current thread.
 

Methods in com.flexive.shared with parameters of type UserTicket
 void FxContext.overrideTicket(UserTicket ticket)
          Override the used ticket.
 void FxContext.setTicket(UserTicket ticket)
           
 

Uses of UserTicket in com.flexive.shared.content
 

Methods in com.flexive.shared.content with parameters of type UserTicket
static boolean FxPermissionUtils.checkPermission(UserTicket ticket, ACLPermission permission, FxContentSecurityInfo si, boolean throwException)
          Permission check for existing contents
static boolean FxPermissionUtils.checkPermission(UserTicket ticket, long ownerId, ACLPermission permission, FxType type, long stepACL, java.util.Collection<java.lang.Long> contentACLs, boolean throwException)
          Permission check for (new) contents
protected static void FxPermissionUtils.checkPropertyPermission(FxValue value, java.lang.String xpath, UserTicket ticket, long creatorId, long aclId, ACLPermission perm)
          Check a single property permission
static void FxPermissionUtils.checkRole(UserTicket ticket, Role... roles)
          Throw an exception if the calling user is not in the given roles
static boolean FxPermissionUtils.currentUserInACLList(UserTicket ticket, java.util.List<java.lang.Long> ACLIds)
          Checks if a UserTicket contains at least one of a given List of (content) ACLs
static void FxPermissionUtils.wrapNoAccessValues(UserTicket ticket, FxContentSecurityInfo securityInfo, FxContent content, FxType type, FxEnvironment env)
          Process a contents property and wrap FxValue's in FxNoAccess or set them to readonly where appropriate
 

Uses of UserTicket in com.flexive.shared.exceptions
 

Methods in com.flexive.shared.exceptions with parameters of type UserTicket
 java.lang.String FxRuntimeException.getMessage(UserTicket ticket)
          Get the localized message for a calling users locale
 java.lang.String FxLocalizedException.getMessage(UserTicket ticket)
          Get the localized message for a calling users locale
 java.lang.String FxApplicationException.getMessage(UserTicket ticket)
          Get the localized message for a calling users locale
 

Uses of UserTicket in com.flexive.shared.interfaces
 

Methods in com.flexive.shared.interfaces that return UserTicket
 UserTicket AccountEngine.getGuestTicket()
          Returns a guest user ticket.
 UserTicket AccountEngine.getUserTicket()
          Gets the user ticket for the current request.
 

Methods in com.flexive.shared.interfaces that return types with arguments of type UserTicket
 java.util.List<UserTicket> AccountEngine.getActiveUserTickets()
          Returns all currently active UserTickets.
 

Methods in com.flexive.shared.interfaces with parameters of type UserTicket
 boolean AccountEngine.loginCheck(java.lang.String username, java.lang.String password, UserTicket currentTicket)
          Check the password of the currently logged-in user.
 

Uses of UserTicket in com.flexive.shared.security
 

Methods in com.flexive.shared.security that return UserTicket
 UserTicket UserTicket.cloneAsGlobalSupervisor()
          Clones a ticket with global supervisor permissions.
 UserTicket UserTicket.copy()
          Creates an independent copy of this ticket.
 

Methods in com.flexive.shared.security with parameters of type UserTicket
 boolean UserGroup.mayAccessGroup(UserTicket ticket)
          Returns true if the caller may see the group and its roles and assignments.
 

Uses of UserTicket in com.flexive.shared.value
 

Methods in com.flexive.shared.value with parameters of type UserTicket
 T FxValue.getBestTranslation(UserTicket ticket)
          Get the translation that best fits the requested users language.
 

Constructors in com.flexive.shared.value with parameters of type UserTicket
FxNoAccess(UserTicket ticket, FxValue wrappedValue)
          Constructor