Package com.day.cq.security.util
Class AuthorizableJSONWriter
- java.lang.Object
-
- com.day.cq.security.util.AuthorizableJSONWriter
-
public class AuthorizableJSONWriter extends java.lang.Object
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 Modifier and Type Field Description static java.lang.String
GROUP
Deprecated.static java.lang.String
KEY_HOME_PATH
Deprecated.static java.lang.String
USER
Deprecated.
-
Constructor Summary
Constructors Constructor Description AuthorizableJSONWriter()
Deprecated.Creates a default authorizable writer.AuthorizableJSONWriter(ProfileManager pMgr, Session session, java.lang.String[] outputProps, XSSProtectionService xss)
Deprecated.todoAuthorizableJSONWriter(ResourceResolver resourceResolver, UserPropertiesManager pMgr, java.lang.String[] outputProps, XSSProtectionService xss)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
setBasic(boolean basic)
Deprecated.Define if only basic information should be writtenvoid
setMembersLimit(int membersLimit)
Deprecated.Sets the members limit.void
setOutputProps(java.lang.String[] outputProps)
Deprecated.Set the properties that will be present in the output.void
setXss(XSSProtectionService xss)
Deprecated.Set XSS protection service to use to prevent from XSS attacksvoid
write(java.io.Writer out, Authorizable authorizable)
Deprecated.void
write(java.io.Writer out, Authorizable authorizable)
Deprecated.void
write(JSONWriter writer, Authorizable authorizable)
Deprecated.void
write(JSONWriter writer, Authorizable authorizable)
Deprecated.void
writeTable(java.io.Writer out, Authorizable authorizable)
Deprecated.void
writeTable(java.io.Writer out, Authorizable authorizable)
Deprecated.
-
-
-
Field Detail
-
GROUP
public static final java.lang.String GROUP
Deprecated.- See Also:
- Constant Field Values
-
USER
public static final java.lang.String USER
Deprecated.- See Also:
- Constant Field Values
-
KEY_HOME_PATH
public static final java.lang.String KEY_HOME_PATH
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AuthorizableJSONWriter
public AuthorizableJSONWriter()
Deprecated.Creates a default authorizable writer.
-
AuthorizableJSONWriter
public AuthorizableJSONWriter(ProfileManager pMgr, Session session, java.lang.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, java.lang.String[] outputProps, XSSProtectionService xss)
Deprecated.
-
-
Method Detail
-
setMembersLimit
public void setMembersLimit(int membersLimit)
Deprecated.Sets the members limit.- Parameters:
membersLimit
- the limit
-
setOutputProps
public void setOutputProps(java.lang.String[] outputProps)
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
-true
to only dump basic information
-
setXss
public void setXss(XSSProtectionService xss)
Deprecated.Set XSS protection service to use to prevent from XSS attacks- Parameters:
xss
-- Since:
- 5.4
-
write
public void write(JSONWriter writer, Authorizable authorizable) throws JSONException
Deprecated.- Throws:
JSONException
-
write
public void write(JSONWriter writer, Authorizable authorizable) throws JSONException, RepositoryException
Deprecated.- Throws:
JSONException
RepositoryException
-
write
public void write(java.io.Writer out, Authorizable authorizable) throws JSONException
Deprecated.- Throws:
JSONException
-
write
public void write(java.io.Writer out, Authorizable authorizable) throws JSONException, RepositoryException
Deprecated.- Throws:
JSONException
RepositoryException
-
writeTable
public void writeTable(java.io.Writer out, Authorizable authorizable) throws JSONException, RepositoryException
Deprecated.- Throws:
JSONException
RepositoryException
-
writeTable
public void writeTable(java.io.Writer out, Authorizable authorizable) throws JSONException, RepositoryException
Deprecated.- Throws:
JSONException
RepositoryException
-
-