Package org.nightlabs.jfire.security.id

Examples of org.nightlabs.jfire.security.id.UserID


      recurringOffer.getRecurringOfferConfiguration().getCreatorTask().setEnabled(false);
      return null;
    }
    Authority organisationAuthority = Authority.getOrganisationAuthority(getPersistenceManager());
    // userID references the principal, i.e. the currently logged-in user.
    UserID userID = SecurityReflector.getUserDescriptor().getUserObjectID();

    // TODO set problem key instead of assert (which throws an exception and thus rolls the whole transaction back).
    organisationAuthority.assertContainsRoleRef(userID, org.nightlabs.jfire.trade.RoleConstants.editOrder);
    organisationAuthority.assertContainsRoleRef(userID, org.nightlabs.jfire.trade.RoleConstants.editOffer);
View Full Code Here


  public UserID getCreateUserID() {
    return createUserID;
  }
  public void setCreateUserID(UserID createUserID)
  {
    final UserID oldCreateUserID = this.createUserID;
    this.createUserID = createUserID;
    notifyListeners(FieldName.createUserID, oldCreateUserID, createUserID);
  }
View Full Code Here

TOP

Related Classes of org.nightlabs.jfire.security.id.UserID

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.