|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Login
Represents login information for a given user in a given authentication domain.
Attributes of Login are:
Associations of Login 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(); Login myObject = (Login) factory.createComplexMetadataObject(objectStore, "Login_Object", MetadataObjects.LOGIN, "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_ASSOCIATEDIDENTITY_NAME
Constant used for the name of the AssociatedIdentity association. |
static java.lang.String |
ASSOCIATION_DATASOURCES_NAME
Constant used for the name of the DataSources association. |
static java.lang.String |
ASSOCIATION_DOMAIN_NAME
Constant used for the name of the Domain association. |
static java.lang.String |
ASSOCIATION_LIBRARIES_NAME
Constant used for the name of the Libraries association. |
static java.lang.String |
ATTRIBUTE_PASSWORD_NAME
Constant used for the name of the Password attribute. |
static java.lang.String |
ATTRIBUTE_USERID_NAME
Constant used for the name of the UserID attribute. |
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 | |
---|---|
Identity |
getAssociatedIdentity()
Gets the Identity for AssociatedIdentity |
AssociationList |
getAssociatedIdentitys()
Gets the AssociationList of AssociatedIdentitys |
AssociationList |
getAssociatedIdentitys(boolean fGoToServer)
Gets the Associationlist of AssociatedIdentitys |
AssociationList |
getDataSources()
Gets the AssociationList of DataSources |
AssociationList |
getDataSources(boolean fGoToServer)
Gets the Associationlist of DataSources |
AuthenticationDomain |
getDomain()
Gets the AuthenticationDomain for Domain |
AssociationList |
getDomains()
Gets the AssociationList of Domains |
AssociationList |
getDomains(boolean fGoToServer)
Gets the Associationlist of Domains |
AssociationList |
getLibraries()
Gets the Association list of Libraries |
AssociationList |
getLibraries(boolean fGoToServer)
Gets the Associationlist of Libraries |
java.lang.String |
getPassword()
Gets the String value of Password |
int |
getPasswordMaxLength()
Gets the maximum length of Password |
int |
getPasswordState()
Gets the Metadata State of Password |
java.lang.String |
getUserID()
Gets the String value of UserID |
int |
getUserIDMaxLength()
Gets the maximum length of UserID |
int |
getUserIDState()
Gets the Metadata State of UserID |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: AssociatedIdentity DataSources Domain |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setAssociatedIdentity(Identity inObject)
Sets the AssociatedIdentitys list 0th element to be inObject . |
void |
setAssociatedIdentitys(AssociationList list)
Sets the AssociatedIdentitys list to be list . |
void |
setAssociatedIdentitys(AssociationList list,
int state)
Sets the AssociatedIdentitys list to be list . |
void |
setDataSources(AssociationList list)
Sets the DataSources list to be list . |
void |
setDataSources(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
void |
setDomain(AuthenticationDomain inObject)
Sets the Domains list 0th element to be inObject . |
void |
setDomains(AssociationList list)
Sets the Domains list to be list . |
void |
setDomains(AssociationList list,
int state)
Sets the Domains list to be list . |
void |
setLibraries(AssociationList list)
Sets the Libraries list to be list . |
void |
setLibraries(AssociationList inObjects,
int state)
Sets the entire Libraries list to match the passed in AssociationList, sets the state of the Libraries |
void |
setPassword(java.lang.String inPassword)
Sets the Password value and sets the state to MetadataState.LOCAL. |
void |
setPassword(java.lang.String inPassword,
int state)
Sets the Password Metadata State. |
void |
setPasswordState(int state)
Sets the Metadata State of Password . |
void |
setUserID(java.lang.String inUserID)
Sets the UserID value and sets the state to MetadataState.LOCAL. |
void |
setUserID(java.lang.String inUserID,
int state)
Sets the UserID Metadata State. |
void |
setUserIDState(int state)
Sets the Metadata State of UserID . |
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_USERID_NAME
UserID: The user ID used for authentication. The ID must be unique to 128 characters.
static final java.lang.String ATTRIBUTE_PASSWORD_NAME
Password: This is the password associated with the user ID in this domain.
static final java.lang.String ASSOCIATION_ASSOCIATEDIDENTITY_NAME
AssociatedIdentity: The identity associated with this login.
static final java.lang.String ASSOCIATION_DATASOURCES_NAME
DataSources: The data source names that use this login as default.
static final java.lang.String ASSOCIATION_DOMAIN_NAME
Domain: The authorization domain that will authenticate a user to a server using these credentials, i.e. this user ID and password.
static final java.lang.String ASSOCIATION_LIBRARIES_NAME
Libraries: The libraries that use this login as a default.
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
initializeRequiredObjects
in interface MdObjectBaseUtil
initializeRequiredObjects
in interface PrimaryType
initializeRequiredObjects
in interface Root
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.void initializePredObjects() throws java.rmi.RemoteException
AssociatedIdentity
DataSources
Domain
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface PrimaryType
initializePredObjects
in interface Root
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getUserID() throws java.rmi.RemoteException
String
value of UserID
UserID
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getUserIDState() throws java.rmi.RemoteException
UserID
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getUserIDMaxLength() throws java.rmi.RemoteException
UserID
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getPassword() throws java.rmi.RemoteException
String
value of Password
Password
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getPasswordState() throws java.rmi.RemoteException
Password
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getPasswordMaxLength() throws java.rmi.RemoteException
Password
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getAssociatedIdentitys() throws java.rmi.RemoteException, MdException
AssociatedIdentitys
AssociatedIdentitys
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
Identity getAssociatedIdentity() throws java.rmi.RemoteException, MdException
Identity
for AssociatedIdentity
Identity
( null
if not set) of AssociatedIdentity
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 getDataSources() throws java.rmi.RemoteException, MdException
DataSources
DataSources
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 getDomains() throws java.rmi.RemoteException, MdException
Domains
Domains
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
AuthenticationDomain getDomain() throws java.rmi.RemoteException, MdException
AuthenticationDomain
for Domain
AuthenticationDomain
( null
if not set) of Domain
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 getLibraries() throws java.rmi.RemoteException, MdException
Libraries
Libraries
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 getAssociatedIdentitys(boolean fGoToServer) throws java.rmi.RemoteException, MdException
AssociatedIdentitys
fGoToServer
- boolean Get the value from the server.
AssociatedIdentitys
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 getDataSources(boolean fGoToServer) throws java.rmi.RemoteException, MdException
DataSources
fGoToServer
- boolean Get the value from the server.
DataSources
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 getDomains(boolean fGoToServer) throws java.rmi.RemoteException, MdException
Domains
fGoToServer
- boolean Get the value from the server.
Domains
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 getLibraries(boolean fGoToServer) throws java.rmi.RemoteException, MdException
Libraries
fGoToServer
- boolean Get the value from the server.
Libraries
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 setUserID(java.lang.String inUserID) throws java.rmi.RemoteException
UserID
value and sets the state to MetadataState.LOCAL.
inUserID
- String
java.rmi.RemoteException
- If error communicating with remote object.void setUserID(java.lang.String inUserID, int state) throws java.rmi.RemoteException
UserID
Metadata State.
inUserID
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setUserIDState(int state) throws java.rmi.RemoteException
UserID
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setPassword(java.lang.String inPassword) throws java.rmi.RemoteException
Password
value and sets the state to MetadataState.LOCAL.
inPassword
- String
java.rmi.RemoteException
- If error communicating with remote object.void setPassword(java.lang.String inPassword, int state) throws java.rmi.RemoteException
Password
Metadata State.
inPassword
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setPasswordState(int state) throws java.rmi.RemoteException
Password
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setAssociatedIdentitys(AssociationList list) throws java.rmi.RemoteException
AssociatedIdentitys
list to be list
. Object of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setAssociatedIdentitys(AssociationList list, int state) throws java.rmi.RemoteException
AssociatedIdentitys
list to be list
. Object of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setAssociatedIdentity(Identity inObject) throws java.rmi.RemoteException
AssociatedIdentitys
list 0th element to be inObject
.
inObject
- Identity
java.rmi.RemoteException
- If error communicating with remote object.void setDataSources(AssociationList list) throws java.rmi.RemoteException
DataSources
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setDataSources(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setDomains(AssociationList list) throws java.rmi.RemoteException
Domains
list to be list
. Object of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setDomains(AssociationList list, int state) throws java.rmi.RemoteException
Domains
list to be list
. Object of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setDomain(AuthenticationDomain inObject) throws java.rmi.RemoteException
Domains
list 0th element to be inObject
.
inObject
- AuthenticationDomain
java.rmi.RemoteException
- If error communicating with remote object.void setLibraries(AssociationList list) throws java.rmi.RemoteException
Libraries
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setLibraries(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 |