|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SecuredLibrary
A SecuredLibrary object is created for a SAS physical library when it is bound to metadata with the AUTHLIB procedure of SAS. The location of the securedLibrary object is stored in the physical library such that the SAS system will not access the physical library without first establishing an authenticated identity and connection to the metadata server and obtaining the identity's data permissions for this object. These data permissions then determine what actions the SAS system will allow that identity to perform on the physical data. SecuredLibrary objects should not be created or manipulated by any code other than the AUTHLIB procedure as they will not be or will no longer be effective. The physical data will not be accessible if an existing SecuredLibrary object is modified by other means.
Attributes of SecuredLibrary are:
Associations of SecuredLibrary 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(); SecuredLibrary myObject = (SecuredLibrary) factory.createComplexMetadataObject(objectStore, "SecuredLibrary_Object", MetadataObjects.SECUREDLIBRARY, "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_DEFAULTPASSWORDS_NAME
Constant used for the name of the DefaultPasswords association. |
static java.lang.String |
ATTRIBUTE_ENCRYPT_NAME
Constant used for the name of the Encrypt attribute. |
Fields inherited from interface com.sas.metadata.remote.SASLibrary |
---|
ASSOCIATION_DEFAULTLOGIN_NAME, ASSOCIATION_LIBRARYCONNECTION_NAME, ASSOCIATION_SASCATALOGS_NAME, ATTRIBUTE_ENGINE_NAME, ATTRIBUTE_ISDBMSLIBNAME_NAME, ATTRIBUTE_ISPREASSIGNED_NAME, ATTRIBUTE_LIBREF_NAME |
Fields inherited from interface com.sas.metadata.remote.RelationalSchema |
---|
ASSOCIATION_SCHEMAPACKAGE_NAME, ASSOCIATION_TABLES_NAME |
Fields inherited from interface com.sas.metadata.remote.DeployedDataPackage |
---|
ASSOCIATION_ALIASES_NAME, ASSOCIATION_ALIASFOR_NAME, ASSOCIATION_DEPLOYEDCOMPONENTS_NAME, ASSOCIATION_TABLECOLLECTIONS_NAME, ASSOCIATION_USEDBYPACKAGES_NAME, ASSOCIATION_USINGPACKAGES_NAME |
Fields inherited from interface com.sas.metadata.remote.PrimaryType |
---|
ASSOCIATION_FAVORITESCONTAINERS_NAME, ATTRIBUTE_ISHIDDEN_NAME, ATTRIBUTE_PUBLICTYPE_NAME |
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 | |
---|---|
AssociationList |
getDefaultPasswords()
Gets the Association list of DefaultPasswords |
AssociationList |
getDefaultPasswords(boolean fGoToServer)
Gets the Associationlist of DefaultPasswords |
java.lang.String |
getEncrypt()
Gets the String value of Encrypt |
int |
getEncryptMaxLength()
Gets the maximum length of Encrypt |
int |
getEncryptState()
Gets the Metadata State of Encrypt |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setDefaultPasswords(AssociationList list)
Sets the DefaultPasswords list to be list . |
void |
setDefaultPasswords(AssociationList inObjects,
int state)
Sets the entire DefaultPasswords list to match the passed in AssociationList, sets the state of the DefaultPasswords |
void |
setEncrypt(java.lang.String inEncrypt)
Sets the Encrypt value and sets the state to MetadataState.LOCAL. |
void |
setEncrypt(java.lang.String inEncrypt,
int state)
Sets the Encrypt Metadata State. |
void |
setEncryptState(int state)
Sets the Metadata State of Encrypt . |
Methods inherited from interface com.sas.metadata.remote.RelationalSchema |
---|
getSchemaPackage, getSchemaPackages, getSchemaPackages, getTables, getTables, setSchemaPackage, setSchemaPackages, setSchemaPackages, setTables, setTables |
Methods inherited from interface com.sas.metadata.remote.DeployedDataPackage |
---|
getAliases, getAliases, getAliasFor, getAliasFors, getAliasFors, getDeployedComponents, getDeployedComponents, getTableCollections, getTableCollections, getUsedByPackages, getUsedByPackages, getUsingPackages, getUsingPackages, setAliases, setAliases, setAliasFor, setAliasFors, setAliasFors, setDeployedComponents, setDeployedComponents, setTableCollections, setTableCollections, setUsedByPackages, setUsedByPackages, setUsingPackages, setUsingPackages |
Methods inherited from interface com.sas.metadata.remote.PrimaryType |
---|
getFavoritesContainers, getFavoritesContainers, getIsHidden, getIsHiddenState, getPublicType, getPublicTypeMaxLength, getPublicTypeState, setFavoritesContainers, setFavoritesContainers, setIsHidden, setIsHidden, setIsHidden, setIsHidden, setIsHiddenState, setPublicType, setPublicType, setPublicTypeState |
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_ENCRYPT_NAME
Encrypt: The encrypt value for this secured library. Valid values are Y (Yes), N (No), or R (Required).
static final java.lang.String ASSOCIATION_DEFAULTPASSWORDS_NAME
DefaultPasswords: The default passwords used by this secured library.
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
initializeRequiredObjects
in interface DeployedDataPackage
initializeRequiredObjects
in interface MdObjectBaseUtil
initializeRequiredObjects
in interface PrimaryType
initializeRequiredObjects
in interface RelationalSchema
initializeRequiredObjects
in interface Root
initializeRequiredObjects
in interface SASLibrary
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.void initializePredObjects() throws java.rmi.RemoteException
initializePredObjects
in interface DeployedDataPackage
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface PrimaryType
initializePredObjects
in interface RelationalSchema
initializePredObjects
in interface Root
initializePredObjects
in interface SASLibrary
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getEncrypt() throws java.rmi.RemoteException
String
value of Encrypt
Encrypt
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getEncryptState() throws java.rmi.RemoteException
Encrypt
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getEncryptMaxLength() throws java.rmi.RemoteException
Encrypt
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getDefaultPasswords() throws java.rmi.RemoteException, MdException
DefaultPasswords
DefaultPasswords
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 getDefaultPasswords(boolean fGoToServer) throws java.rmi.RemoteException, MdException
DefaultPasswords
fGoToServer
- boolean Get the value from the server.
DefaultPasswords
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 setEncrypt(java.lang.String inEncrypt) throws java.rmi.RemoteException
Encrypt
value and sets the state to MetadataState.LOCAL.
inEncrypt
- String
java.rmi.RemoteException
- If error communicating with remote object.void setEncrypt(java.lang.String inEncrypt, int state) throws java.rmi.RemoteException
Encrypt
Metadata State.
inEncrypt
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setEncryptState(int state) throws java.rmi.RemoteException
Encrypt
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setDefaultPasswords(AssociationList list) throws java.rmi.RemoteException
DefaultPasswords
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setDefaultPasswords(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
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 |