|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface SecurityRule
This is an abstract class from which other "SecurityRules" will derive. Security rules are used to tell the authorization facility the rules it should use when making authorization decisions.
Attributes of SecurityRule are:
Associations of SecurityRule are:
factory
create methods. // create a store to contain your objects for this change. If you do not have an existing object // or store to use. You may obtain the store from another object by using Object.getObjectStore(). MdFactory factory; //where "factory" is a valid MdFactory instance MdObjectStore objectStore = factory.createObjectStore(); SecurityRule myObject = (SecurityRule) factory.createComplexMetadataObject(objectStore, "SecurityRule_Object", MetadataObjects.SECURITYRULE, "AAAAAAAA"); myObject.updateMetadataAll(); // Write object to server objectStore.dispose(); // dispose of the object store if it is no longer needed
MdOMIUtil.
updateMetadataAll
method.
delete method can be used.
This will flag the object as being deleted on the client, and will require an update call to persist
the change to the server.
| Field Summary | |
|---|---|
static java.lang.String |
ASSOCIATION_SECRULESCHEME_NAME
Constant used for the name of the SecRuleScheme association. |
static java.lang.String |
ATTRIBUTE_RULE_NAME
Constant used for the name of the Rule attribute. |
static java.lang.String |
ATTRIBUTE_TYPE_NAME
Constant used for the name of the Type attribute. |
| Fields inherited from interface com.sas.metadata.remote.MdObjectBase |
|---|
ATTRIBUTE_DESC_NAME, ATTRIBUTE_ID_NAME, ATTRIBUTE_METADATACREATED_NAME, ATTRIBUTE_METADATAUPDATED_NAME, ATTRIBUTE_NAME_NAME |
| Method Summary | |
|---|---|
abstract java.lang.String |
getRule()
Gets the String value of Rule |
abstract int |
getRuleMaxLength()
Gets the maximum length of Rule |
abstract int |
getRuleState()
Gets the Metadata State of Rule |
abstract SecurityRuleScheme |
getSecRuleScheme()
Gets the SecurityRuleScheme for SecRuleScheme |
abstract AssociationList |
getSecRuleSchemes()
Gets the AssociationList of SecRuleSchemes |
abstract AssociationList |
getSecRuleSchemes(boolean fGoToServer)
Gets the Associationlist of SecRuleSchemes |
abstract java.lang.String |
getType()
Gets the String value of Type |
abstract int |
getTypeMaxLength()
Gets the maximum length of Type |
abstract int |
getTypeState()
Gets the Metadata State of Type |
abstract void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: SecRuleScheme |
abstract void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: SecRuleScheme |
abstract void |
setRule(java.lang.String inRule)
Sets the Rule value and sets the state to MetadataState.LOCAL. |
abstract void |
setRule(java.lang.String inRule,
int state)
Sets the Rule Metadata State. |
abstract void |
setRuleState(int state)
Sets the Metadata State of Rule. |
abstract void |
setSecRuleScheme(SecurityRuleScheme inObject)
Sets the SecRuleSchemes list 0th element to be inObject. |
abstract void |
setSecRuleSchemes(AssociationList list)
Sets the SecRuleSchemes list to be list. |
abstract void |
setSecRuleSchemes(AssociationList list,
int state)
Sets the SecRuleSchemes list to be list. |
abstract void |
setType(java.lang.String inType)
Sets the Type value and sets the state to MetadataState.LOCAL. |
abstract void |
setType(java.lang.String inType,
int state)
Sets the Type Metadata State. |
abstract void |
setTypeState(int state)
Sets the Metadata State of Type. |
| Methods inherited from interface com.sas.metadata.remote.MdObjectBaseXML |
|---|
closeUpdateMetadataXML, createEmptyXML, createObjectRefreshXML, createObjectXML, createObjectXML, createUpdateAssociationXML, createUpdateAssociationXML, createUpdateSimpleXML, doCreateUpdateXML, getUpdateSimpleSubstring, updateMetadataAll |
| Field Detail |
|---|
static final java.lang.String ATTRIBUTE_RULE_NAME
Rule: Rule
static final java.lang.String ATTRIBUTE_TYPE_NAME
Type: Used to indicate the category of the particular rule.
static final java.lang.String ASSOCIATION_SECRULESCHEME_NAME
SecRuleScheme: The security rule scheme that contains this rule.
| Method Detail |
|---|
void initializeRequiredObjects()
throws java.rmi.RemoteException
SecRuleScheme
initializeRequiredObjects in interface MdObjectBaseUtilinitializeRequiredObjects in interface RootinitializeRequiredObjects in interface SecondaryTypejava.rmi.RemoteException - If error connecting/communicating to/with remote object.
void initializePredObjects()
throws java.rmi.RemoteException
SecRuleScheme
initializePredObjects in interface MdObjectBaseinitializePredObjects in interface RootinitializePredObjects in interface SecondaryTypejava.rmi.RemoteException - If error connecting/communicating to/with remote object.
java.lang.String getRule()
throws java.rmi.RemoteException
String value of Rule
Rule
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getRuleState()
throws java.rmi.RemoteException
Rule
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getRuleMaxLength()
throws java.rmi.RemoteException
Rule
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
java.lang.String getType()
throws java.rmi.RemoteException
String value of Type
Type
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getTypeState()
throws java.rmi.RemoteException
Type
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getTypeMaxLength()
throws java.rmi.RemoteException
Type
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
AssociationList getSecRuleSchemes()
throws java.rmi.RemoteException,
MdException
SecRuleSchemes
SecRuleSchemes which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException
SecurityRuleScheme getSecRuleScheme()
throws java.rmi.RemoteException,
MdException
SecurityRuleScheme for SecRuleScheme
SecurityRuleScheme ( null if not set) of SecRuleSchemewhich can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getSecRuleSchemes(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
SecRuleSchemes
fGoToServer - boolean Get the value from the server.
SecRuleSchemes which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
void setRule(java.lang.String inRule)
throws java.rmi.RemoteException
Rule value and sets the state to MetadataState.LOCAL.
inRule - String
java.rmi.RemoteException - If error communicating with remote object.
void setRule(java.lang.String inRule,
int state)
throws java.rmi.RemoteException
Rule Metadata State.
inRule - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setRuleState(int state)
throws java.rmi.RemoteException
Rule.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setType(java.lang.String inType)
throws java.rmi.RemoteException
Type value and sets the state to MetadataState.LOCAL.
inType - String
java.rmi.RemoteException - If error communicating with remote object.
void setType(java.lang.String inType,
int state)
throws java.rmi.RemoteException
Type Metadata State.
inType - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setTypeState(int state)
throws java.rmi.RemoteException
Type.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setSecRuleSchemes(AssociationList list)
throws java.rmi.RemoteException
SecRuleSchemes list to be list. Object of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setSecRuleSchemes(AssociationList list,
int state)
throws java.rmi.RemoteException
SecRuleSchemes list to be list. Object of which can be of type:
list - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setSecRuleScheme(SecurityRuleScheme inObject)
throws java.rmi.RemoteException
SecRuleSchemes list 0th element to be inObject.
inObject - SecurityRuleScheme
java.rmi.RemoteException - If error communicating with remote object.
|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||