|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.framework.security.metadata.MetadataAccessPolicy
public class MetadataAccessPolicy
This class is used to store metadata access policy configuration.
Field Summary | |
---|---|
static String |
TYPE_PUBLIC_PROTECTED
Document access control type public-protected field (single-value) = "public-protected" |
static String |
TYPE_RESTRICTED
Document access control type restricted field (single-value) = "restricted" |
static String |
TYPE_UNRESTRICTED
Document access control type unrestricted field (single-value) = "unrestricted" |
Constructor Summary | |
---|---|
MetadataAccessPolicy()
Default constructor. |
Method Summary | |
---|---|
String |
getAccessPolicyType()
Gets the access policy type |
String |
getAccessToGroupDN()
Gets the group access distributed name |
boolean |
isPolicyUnrestricted()
Indicates if the application metadata access policy is unrestricted. |
boolean |
isProtectedGroupDN()
Checks if has protected group DN is configured |
void |
setAccessPolicyType(String policyType)
Sets the access policy type |
void |
setAccessToGroupDN(String toGroupDN)
Sets the group access distributed name |
String |
toString()
Returns the string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String TYPE_PUBLIC_PROTECTED
public static final String TYPE_RESTRICTED
public static final String TYPE_UNRESTRICTED
Constructor Detail |
---|
public MetadataAccessPolicy()
Method Detail |
---|
public String getAccessPolicyType()
public void setAccessPolicyType(String policyType) throws Exception
policyType
- policy type
Exception
- if setting access policy type failspublic String getAccessToGroupDN()
public void setAccessToGroupDN(String toGroupDN)
toGroupDN
- access distributed namepublic boolean isPolicyUnrestricted()
true
if the policy is unrestrictedpublic boolean isProtectedGroupDN()
true
if protected group DN is configuredpublic String toString()
toString
in class Object
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |