public class AuthorizableJSONWriter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
GROUP
Deprecated.
|
static java.lang.String |
KEY_HOME_PATH
Deprecated.
|
static java.lang.String |
USER
Deprecated.
|
Constructor and Description |
---|
AuthorizableJSONWriter()
Deprecated.
Creates a default authorizable writer.
|
AuthorizableJSONWriter(ProfileManager pMgr,
Session session,
java.lang.String[] outputProps,
XSSProtectionService xss)
Deprecated.
todo
|
AuthorizableJSONWriter(ResourceResolver resourceResolver,
UserPropertiesManager pMgr,
java.lang.String[] outputProps,
XSSProtectionService xss)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
setBasic(boolean basic)
Deprecated.
Define if only basic information should be written
|
void |
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 attacks
|
void |
write(JSONWriter writer,
Authorizable authorizable)
Deprecated.
|
void |
write(JSONWriter writer,
Authorizable authorizable)
Deprecated.
|
void |
write(java.io.Writer out,
Authorizable authorizable)
Deprecated.
|
void |
write(java.io.Writer out,
Authorizable authorizable)
Deprecated.
|
void |
writeTable(java.io.Writer out,
Authorizable authorizable)
Deprecated.
|
void |
writeTable(java.io.Writer out,
Authorizable authorizable)
Deprecated.
|
public static final java.lang.String GROUP
public static final java.lang.String USER
public static final java.lang.String KEY_HOME_PATH
public AuthorizableJSONWriter()
public AuthorizableJSONWriter(ProfileManager pMgr, Session session, java.lang.String[] outputProps, XSSProtectionService xss)
pMgr
- the profile managersession
- the sessionoutputProps
- the output propertiesxss
- the XSS protection servicepublic AuthorizableJSONWriter(ResourceResolver resourceResolver, UserPropertiesManager pMgr, java.lang.String[] outputProps, XSSProtectionService xss)
public void setMembersLimit(int membersLimit)
membersLimit
- the limitpublic void setOutputProps(java.lang.String[] outputProps)
outputProps
- the output propertiespublic void setBasic(boolean basic)
basic
- true
to only dump basic informationpublic void setXss(XSSProtectionService xss)
xss
- public void write(JSONWriter writer, Authorizable authorizable) throws JSONException
JSONException
public void write(JSONWriter writer, Authorizable authorizable) throws JSONException, RepositoryException
JSONException
RepositoryException
public void write(java.io.Writer out, Authorizable authorizable) throws JSONException
JSONException
public void write(java.io.Writer out, Authorizable authorizable) throws JSONException, RepositoryException
JSONException
RepositoryException
public void writeTable(java.io.Writer out, Authorizable authorizable) throws JSONException, RepositoryException
JSONException
RepositoryException
public void writeTable(java.io.Writer out, Authorizable authorizable) throws JSONException, RepositoryException
JSONException
RepositoryException
Copyright © 2010 - 2020 Adobe. All Rights Reserved