|
| 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_OUTBOUNDONLY_NAME
Constant used for the name of the OutboundOnly attribute. |
static java.lang.String |
ATTRIBUTE_PASSWORD_NAME
Constant used for the name of the Password attribute. |
static java.lang.String |
ATTRIBUTE_TRUSTEDONLY_NAME
Constant used for the name of the TrustedOnly 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 | |
|---|---|
abstract Identity |
getAssociatedIdentity()
Gets the Identity for AssociatedIdentity |
abstract AssociationList |
getAssociatedIdentitys()
Gets the AssociationList of AssociatedIdentitys |
abstract AssociationList |
getAssociatedIdentitys(boolean fGoToServer)
Gets the Associationlist of AssociatedIdentitys |
abstract AssociationList |
getDataSources()
Gets the AssociationList of DataSources |
abstract AssociationList |
getDataSources(boolean fGoToServer)
Gets the Associationlist of DataSources |
abstract AuthenticationDomain |
getDomain()
Gets the AuthenticationDomain for Domain |
abstract AssociationList |
getDomains()
Gets the AssociationList of Domains |
abstract AssociationList |
getDomains(boolean fGoToServer)
Gets the Associationlist of Domains |
abstract AssociationList |
getLibraries()
Gets the Association list of Libraries |
abstract AssociationList |
getLibraries(boolean fGoToServer)
Gets the Associationlist of Libraries |
abstract int |
getOutboundOnly()
Gets the int value of OutboundOnly |
abstract int |
getOutboundOnlyState()
Gets the Metadata State of OutboundOnly |
abstract java.lang.String |
getPassword()
Gets the String value of Password |
abstract int |
getPasswordMaxLength()
Gets the maximum length of Password |
abstract int |
getPasswordState()
Gets the Metadata State of Password |
abstract int |
getTrustedOnly()
Gets the int value of TrustedOnly |
abstract int |
getTrustedOnlyState()
Gets the Metadata State of TrustedOnly |
abstract java.lang.String |
getUserID()
Gets the String value of UserID |
abstract int |
getUserIDMaxLength()
Gets the maximum length of UserID |
abstract int |
getUserIDState()
Gets the Metadata State of UserID |
abstract void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: AssociatedIdentityDataSourcesDomain |
abstract void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
abstract void |
setAssociatedIdentity(Identity inObject)
Sets the AssociatedIdentitys list 0th element to be inObject. |
abstract void |
setAssociatedIdentitys(AssociationList list)
Sets the AssociatedIdentitys list to be list. |
abstract void |
setAssociatedIdentitys(AssociationList list,
int state)
Sets the AssociatedIdentitys list to be list. |
abstract void |
setDataSources(AssociationList list)
Sets the DataSources list to be list. |
abstract void |
setDataSources(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
abstract void |
setDomain(AuthenticationDomain inObject)
Sets the Domains list 0th element to be inObject. |
abstract void |
setDomains(AssociationList list)
Sets the Domains list to be list. |
abstract void |
setDomains(AssociationList list,
int state)
Sets the Domains list to be list. |
abstract void |
setLibraries(AssociationList list)
Sets the Libraries list to be list. |
abstract void |
setLibraries(AssociationList inObjects,
int state)
Sets the entire Libraries list to match the passed in AssociationList, sets the state of the Libraries |
abstract void |
setOutboundOnly(int inOutboundOnly)
Sets the OutboundOnly value and sets the state to MetadataState.LOCAL. |
abstract void |
setOutboundOnly(int inOutboundOnly,
int state)
Sets the OutboundOnly Metadata State. |
abstract void |
setOutboundOnly(java.lang.String inOutboundOnly)
Sets the OutboundOnly value and sets the state to MetadataState.LOCAL. |
abstract void |
setOutboundOnly(java.lang.String inOutboundOnly,
int state)
Sets the OutboundOnly value and Metadata State. |
abstract void |
setOutboundOnlyState(int state)
Sets the Metadata State of OutboundOnly. |
abstract void |
setPassword(java.lang.String inPassword)
Sets the Password value and sets the state to MetadataState.LOCAL. |
abstract void |
setPassword(java.lang.String inPassword,
int state)
Sets the Password Metadata State. |
abstract void |
setPasswordState(int state)
Sets the Metadata State of Password. |
abstract void |
setTrustedOnly(int inTrustedOnly)
Sets the TrustedOnly value and sets the state to MetadataState.LOCAL. |
abstract void |
setTrustedOnly(int inTrustedOnly,
int state)
Sets the TrustedOnly Metadata State. |
abstract void |
setTrustedOnly(java.lang.String inTrustedOnly)
Sets the TrustedOnly value and sets the state to MetadataState.LOCAL. |
abstract void |
setTrustedOnly(java.lang.String inTrustedOnly,
int state)
Sets the TrustedOnly value and Metadata State. |
abstract void |
setTrustedOnlyState(int state)
Sets the Metadata State of TrustedOnly. |
abstract void |
setUserID(java.lang.String inUserID)
Sets the UserID value and sets the state to MetadataState.LOCAL. |
abstract void |
setUserID(java.lang.String inUserID,
int state)
Sets the UserID Metadata State. |
abstract 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 ATTRIBUTE_TRUSTEDONLY_NAME
TrustedOnly: Indicates the login will be subject to special access rules.
static final java.lang.String ATTRIBUTE_OUTBOUNDONLY_NAME
OutboundOnly: Indicates that logins within the domain will only be used to establish connections to other servers.
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 MdObjectBaseUtilinitializeRequiredObjects in interface PrimaryTypeinitializeRequiredObjects in interface Rootjava.rmi.RemoteException - If error connecting/communicating to/with remote object.
void initializePredObjects()
throws java.rmi.RemoteException
AssociatedIdentityDataSourcesDomain
initializePredObjects in interface MdObjectBaseinitializePredObjects in interface PrimaryTypeinitializePredObjects in interface Rootjava.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.
int getTrustedOnly()
throws java.rmi.RemoteException
int value of TrustedOnly
TrustedOnly
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getTrustedOnlyState()
throws java.rmi.RemoteException
TrustedOnly
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getOutboundOnly()
throws java.rmi.RemoteException
int value of OutboundOnly
OutboundOnly
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getOutboundOnlyState()
throws java.rmi.RemoteException
OutboundOnly
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 AssociatedIdentitywhich 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 Domainwhich 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 setTrustedOnly(int inTrustedOnly)
throws java.rmi.RemoteException
TrustedOnly value and sets the state to MetadataState.LOCAL.
inTrustedOnly - int
java.rmi.RemoteException - If error communicating with remote object.
void setTrustedOnly(int inTrustedOnly,
int state)
throws java.rmi.RemoteException
TrustedOnly Metadata State.
inTrustedOnly - intstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setTrustedOnly(java.lang.String inTrustedOnly)
throws java.rmi.RemoteException
TrustedOnly value and sets the state to MetadataState.LOCAL.
inTrustedOnly - String
java.rmi.RemoteException - If error communicating with remote object.
void setTrustedOnly(java.lang.String inTrustedOnly,
int state)
throws java.rmi.RemoteException
TrustedOnly value and Metadata State.
inTrustedOnly - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setTrustedOnlyState(int state)
throws java.rmi.RemoteException
TrustedOnly.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setOutboundOnly(int inOutboundOnly)
throws java.rmi.RemoteException
OutboundOnly value and sets the state to MetadataState.LOCAL.
inOutboundOnly - int
java.rmi.RemoteException - If error communicating with remote object.
void setOutboundOnly(int inOutboundOnly,
int state)
throws java.rmi.RemoteException
OutboundOnly Metadata State.
inOutboundOnly - intstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setOutboundOnly(java.lang.String inOutboundOnly)
throws java.rmi.RemoteException
OutboundOnly value and sets the state to MetadataState.LOCAL.
inOutboundOnly - String
java.rmi.RemoteException - If error communicating with remote object.
void setOutboundOnly(java.lang.String inOutboundOnly,
int state)
throws java.rmi.RemoteException
OutboundOnly value and Metadata State.
inOutboundOnly - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setOutboundOnlyState(int state)
throws java.rmi.RemoteException
OutboundOnly.
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 | |||||||||||||