|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glite.security.util.namespace.NamespacePolicy
public class NamespacePolicy
Encapsulates the policy statement; issuer DN, access rights and subject DN.
| Constructor Summary | |
|---|---|
NamespacePolicy()
Creates an empty policy object. |
|
NamespacePolicy(DN issuerDN,
java.lang.String subjectDN)
Creates a new policy with the specified issuer and subject DN. |
|
NamespacePolicy(DN issuerDN,
java.lang.String accessRights,
java.lang.String subjectDN)
Creates a new policy with the specified issuer, access rights and subject DN. |
|
NamespacePolicy(DN issuerDN,
java.lang.String accessRights,
java.lang.String subjectDN,
java.lang.String policyStatement,
int lineNumber,
java.lang.String filename)
Creates a new policy with the specified issuer, access rights, subject DN, the actual policy statement, line number of the policy and file name. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAccessRights()
Returns the access right for the DN. |
java.lang.String |
getFilename()
Returns the policy filename. |
DN |
getIssuerDN()
Returns the issuer DN. |
int |
getLineNumber()
Returns the line number of this policy line. |
java.lang.String |
getPolicyStatement()
Returns the actual policy statement. |
java.lang.String |
getSubjectDN()
Returns the subject DN. |
boolean |
isSubjectDNPermitted()
Returns true if the subject DN is permitted |
void |
setAccessRights(java.lang.String accessRights)
The access rights for the DN. |
void |
setFilename(java.lang.String filename)
Sets the policy filename. |
void |
setIssuerDN(DN issuerDN)
Sets the issuer DN. |
void |
setLineNumber(int lineNumber)
Sets the line number of this policy line. |
void |
setPolicyStatement(java.lang.String policyStatement)
Sets the policy statement. |
void |
setSubjectDN(java.lang.String subjectDN)
Sets the subject DN. |
void |
subjectDNPermitted(boolean isPermitted)
Set to true if subject DN is permitted. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NamespacePolicy()
public NamespacePolicy(DN issuerDN,
java.lang.String subjectDN)
issuerDN - the issuer DNsubjectDN - the subject DN
public NamespacePolicy(DN issuerDN,
java.lang.String accessRights,
java.lang.String subjectDN)
issuerDN - the issuer DNaccessRights - the access rights for the subject DNsubjectDN - the subject DN
public NamespacePolicy(DN issuerDN,
java.lang.String accessRights,
java.lang.String subjectDN,
java.lang.String policyStatement,
int lineNumber,
java.lang.String filename)
issuerDN - the issuer DNaccessRights - the access rights for the subject DNsubjectDN - the subject DNpolicyStatement - the actual policy statementlineNumber - the policy line numberfilename - the policy filename| Method Detail |
|---|
public DN getIssuerDN()
public void setIssuerDN(DN issuerDN)
issuerDN - the issuer DN to setpublic java.lang.String getSubjectDN()
public void setSubjectDN(java.lang.String subjectDN)
subjectDN - the subject DN to setpublic java.lang.String getAccessRights()
public void setAccessRights(java.lang.String accessRights)
accessRights - the access rights to setpublic boolean isSubjectDNPermitted()
public void subjectDNPermitted(boolean isPermitted)
isPermitted - true if permittedpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getPolicyStatement()
public void setPolicyStatement(java.lang.String policyStatement)
policyStatement - the policy statementpublic int getLineNumber()
public void setLineNumber(int lineNumber)
lineNumber - the line numberpublic java.lang.String getFilename()
public void setFilename(java.lang.String filename)
filename - the policy filename
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||