|
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 | |
---|---|
java.lang.String |
getRule()
Gets the String value of Rule |
int |
getRuleMaxLength()
Gets the maximum length of Rule |
int |
getRuleState()
Gets the Metadata State of Rule |
SecurityRuleScheme |
getSecRuleScheme()
Gets the SecurityRuleScheme for SecRuleScheme |
AssociationList |
getSecRuleSchemes()
Gets the AssociationList of SecRuleSchemes |
AssociationList |
getSecRuleSchemes(boolean fGoToServer)
Gets the Associationlist of SecRuleSchemes |
java.lang.String |
getType()
Gets the String value of Type |
int |
getTypeMaxLength()
Gets the maximum length of Type |
int |
getTypeState()
Gets the Metadata State of Type |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: SecRuleScheme |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: SecRuleScheme |
void |
setRule(java.lang.String inRule)
Sets the Rule value and sets the state to MetadataState.LOCAL. |
void |
setRule(java.lang.String inRule,
int state)
Sets the Rule Metadata State. |
void |
setRuleState(int state)
Sets the Metadata State of Rule . |
void |
setSecRuleScheme(SecurityRuleScheme inObject)
Sets the SecRuleSchemes list 0th element to be inObject . |
void |
setSecRuleSchemes(AssociationList list)
Sets the SecRuleSchemes list to be list . |
void |
setSecRuleSchemes(AssociationList list,
int state)
Sets the SecRuleSchemes list to be list . |
void |
setType(java.lang.String inType)
Sets the Type value and sets the state to MetadataState.LOCAL. |
void |
setType(java.lang.String inType,
int state)
Sets the Type Metadata State. |
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 catagory 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 MdObjectBaseUtil
initializeRequiredObjects
in interface Root
initializeRequiredObjects
in interface SecondaryType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.void initializePredObjects() throws java.rmi.RemoteException
SecRuleScheme
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface Root
initializePredObjects
in interface SecondaryType
java.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 SecRuleScheme
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.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 |