EntitlementService.java revision 21a7dedf73d1ce1a0280e04ecedeea1075ffae81
2N/A * at opensso/legal/CDDLv1.0.txt.
2N/A * $Id: EntitlementService.java,v 1.13 2010/01/08 23:59:32 veiming Exp $
2N/A private static final String CONFIG_SUBJECT_ATTRIBUTES_COLLECTORS = "subjectAttributesCollectors";
2N/A private static final String SCHEMA_SUBJECT_ATTRIBUTES_COLLECTORS = "subjectAttributesCollectors";
2N/A private static final String SCHEMA_OPENSSO_SUBJECT_ATTRIBUTES_COLLECTOR = "OpenSSOSubjectAttributesCollector";
2N/A private static final String REALM_DN_TEMPLATE = "ou={0},ou=default,ou=OrganizationConfig,ou=1.0,ou="
2N/A public EntitlementService(@Assisted Subject subject, @Assisted String realm, NotificationBroker broker) {
2N/A return defaultValue;
} catch (NumberFormatException e) {
attrName, e);
return defaultValue;
attrName);
attrName);
token);
return results;
return null;
return set;
throws EntitlementException {
return applications;
} catch (UnsupportedOperationException e) {
return applications;
return null;
return results;
PolicyConstants.DEBUG.error("EntitlementService.getApplicationConfiguration, admin token is missing");
return null;
public void addSubjectAttributeNames(
) throws EntitlementException {
Application appl = getApplicationService(SUPER_ADMIN_SUBJECT, realm).getApplication(applicationName);
token);
return applConf;
throws EntitlementException
subject);
throws EntitlementException{
token);
return null;
token);
return sc;
throws EntitlementException {
s.save();
throws EntitlementException {
return data;
return map;
throws EntitlementException {
attrs);
ex);
ex);
return null;
public void setSubjectAttributesCollectorConfiguration(
throws EntitlementException {
attrMap);
ex);
ex);
public boolean hasEntitlementDITs() {
public boolean xacmlPrivilegeEnabled() {
if (!hasEntitlementDITs()) {
public boolean networkMonitorEnabled() {
if (!hasEntitlementDITs()) {
public void reindexApplications() {
return null;
return null;
public boolean isMonitoringRunning() {
public int getPolicyWindowSize() {