This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SecurityConfiguration { | |
@Inject | |
private Authorization authorization; | |
@Inject | |
private EntityManagerContextInitializer contextInitializer; | |
private static final String JPA_CONFIG = "jpa.config"; | |
private static final String LOGIN_PAGE = "/login.faces"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Singleton | |
@Startup | |
public class SecurityInitializer { | |
private IdentityManager identityManager; | |
@Inject | |
private Authorization authorization; | |
@Inject | |
private PartitionManager partitionManager; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@RelationshipStereotype(GROUP_MEMBERSHIP) | |
public class GroupMembership extends AbstractAttributedType implements Relationship{ | |
/** | |
* | |
*/ | |
private static final long serialVersionUID = 1L; | |
public static final RelationshipQueryParameter GROUP = RELATIONSHIP_QUERY_ATTRIBUTE.byName("group"); | |
public static final RelationshipQueryParameter MEMBER = RELATIONSHIP_QUERY_ATTRIBUTE.byName("member"); |