Package com.day.cq.security.util
Class AuthorizableJSONWriter
java.lang.Object
com.day.cq.security.util.AuthorizableJSONWriter
Deprecated.
cq 5.5 Use platform functionality instead.
Little writer knowing some of the Authorizables special cases that do not
compile a Bean-convention
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a default authorizable writer.AuthorizableJSONWriter(ProfileManager pMgr, Session session, String[] outputProps, XSSProtectionService xss) Deprecated.todoAuthorizableJSONWriter(ResourceResolver resourceResolver, UserPropertiesManager pMgr, String[] outputProps, XSSProtectionService xss) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidsetBasic(boolean basic) Deprecated.Define if only basic information should be writtenvoidsetMembersLimit(int membersLimit) Deprecated.Sets the members limit.voidsetOutputProps(String[] outputProps) Deprecated.Set the properties that will be present in the output.voidDeprecated.Set XSS protection service to use to prevent from XSS attacksvoidwrite(Writer out, Authorizable authorizable) Deprecated.voidwrite(Writer out, Authorizable authorizable) Deprecated.voidwrite(JSONWriter writer, Authorizable authorizable) Deprecated.voidwrite(JSONWriter writer, Authorizable authorizable) Deprecated.voidwriteTable(Writer out, Authorizable authorizable) Deprecated.voidwriteTable(Writer out, Authorizable authorizable) Deprecated.
-
Field Details
-
GROUP
Deprecated.- See Also:
-
USER
Deprecated.- See Also:
-
KEY_HOME_PATH
Deprecated.- See Also:
-
-
Constructor Details
-
AuthorizableJSONWriter
public AuthorizableJSONWriter()Deprecated.Creates a default authorizable writer. -
AuthorizableJSONWriter
public AuthorizableJSONWriter(ProfileManager pMgr, Session session, String[] outputProps, XSSProtectionService xss) Deprecated.todo- Parameters:
pMgr- the profile managersession- the sessionoutputProps- the output propertiesxss- the XSS protection service- Since:
- 5.4
-
AuthorizableJSONWriter
public AuthorizableJSONWriter(ResourceResolver resourceResolver, UserPropertiesManager pMgr, String[] outputProps, XSSProtectionService xss) Deprecated.
-
-
Method Details
-
setMembersLimit
public void setMembersLimit(int membersLimit) Deprecated.Sets the members limit.- Parameters:
membersLimit- the limit
-
setOutputProps
Deprecated.Set the properties that will be present in the output.- Parameters:
outputProps- the output properties- Since:
- 5.4
-
setBasic
public void setBasic(boolean basic) Deprecated.Define if only basic information should be written- Parameters:
basic-trueto only dump basic information
-
setXss
Deprecated.Set XSS protection service to use to prevent from XSS attacks- Parameters:
xss-- Since:
- 5.4
-
write
Deprecated.- Throws:
JSONException
-
write
public void write(JSONWriter writer, Authorizable authorizable) throws JSONException, RepositoryException Deprecated.- Throws:
JSONExceptionRepositoryException
-
write
Deprecated.- Throws:
JSONException
-
write
Deprecated.- Throws:
JSONExceptionRepositoryException
-
writeTable
public void writeTable(Writer out, Authorizable authorizable) throws JSONException, RepositoryException Deprecated.- Throws:
JSONExceptionRepositoryException
-
writeTable
public void writeTable(Writer out, Authorizable authorizable) throws JSONException, RepositoryException Deprecated.- Throws:
JSONExceptionRepositoryException
-