public JSSnapshot(String name) { this(); setName(name); }
public void setValue(String value) { this.value = value; this.values = null; setNullValue(value == null); }
public int compare(JSSecurityDomain o1, JSSecurityDomain o2) { boolean o1HasOwner = o1.getOwnerDomain() != null; boolean o2HasOwner = o2.getOwnerDomain() != null; if (o1HasOwner==o2HasOwner){ return 0; } else if (o1HasOwner){ return 1; } else { return -1; } } });
public JSSnapshot() { mimeTypes = new JSMimeTypes(); mediaTypes = new JSMediaTypes(); clients = new JSClients(); capabilities = new JSCapabilities(); oldRoles = new JSRoles(); oldGroups = new JSGroups(); oldUsers = new JSUsers(); principals = new JSPrincipals(); principalAssociations = new JSPrincipalAssociations(); permissions = new JSPermissions(); rules = new JSProfilingRules(); applications = new JSApplications(); securityDomains=new JSSecurityDomains(); ssoSites = new JSSSOSites(); }
private String append(JSMimeType mime) { return mime.getName(); }
private String append(JSCapability capability) { return capability.getName(); }
private String append(JSRole role) { return role.getName(); }
public boolean getPwDataValueAsBoolean(String key) { return getPwDataValueAsBoolean(key, false); }
public String getPwDataValue(String key) { return getPwDataValue(key, null); }
private String append(JSGroup group) { return group.getName(); }
public void setUserCredential(String name, char[] password) { setName(name); setPassword(password); }
public void addRemoteUser(JSSSOSiteRemoteUser remoteUser) { if (remoteUsers == null) { remoteUsers = new JSSSOSiteRemoteUsers(); } remoteUsers.add(remoteUser); }
public String getPwDataValue(String key) { return getPwDataValue(key, null); }
public boolean getPwEnabled() { return getPWBoolean("enabled",false); } public boolean getPwRequiredUpdate()
public void addPrincipalAssociation(JSPrincipalAssociation jsPrincipalAssociation) { this.principalAssociations.add(jsPrincipalAssociation); }
public Date getPwDataValueAsDate(String key) { return getPwDataValueAsDate(key, null); }
private String append(JSMimeType mime) { return mime.getName(); }
private String append(JSCapability capability) { return capability.getName(); }
public void setValues(String [] values) { this.value = null; this.values = values; setNullValue(values == null); } /**
public boolean getPwRequiredUpdate() { return getPWBoolean("requiresUpdate",false); }