Improve launch config
[gpl/argeo-suite.git] / org.argeo.suite.core / src / org / argeo / suite / ArgeoSuiteRole.java
1 package org.argeo.suite;
2
3 import org.argeo.naming.LdapAttrs;
4 import org.argeo.node.NodeConstants;
5
6 /** Argeo Office specific roles used in the code */
7 public enum ArgeoSuiteRole {
8 coworker, manager;
9
10 public String dn() {
11 return new StringBuilder(LdapAttrs.cn.name()).append("=").append(SuiteConstants.SUITE_APP_PREFIX).append(".")
12 .append(name()).append(",").append(NodeConstants.ROLES_BASEDN).toString();
13 }
14 }