|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AuthenticationDomain
Authentication domains provide logical groupings for resources and logins in a metadata repository. An individual uses the same user ID and password for all of the resources in a particular authentication domain. For example, when an application needs to locate credentials that enable a particular user to access a particular server, the application searches the metadata for logins that are associated with the authentication domain in that the target server is registered.
Attributes of AuthenticationDomain are:
Associations of AuthenticationDomain 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(); AuthenticationDomain myObject = (AuthenticationDomain) factory.createComplexMetadataObject(objectStore, "AuthenticationDomain_Object", MetadataObjects.AUTHENTICATIONDOMAIN, "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_CONNECTIONS_NAME
Constant used for the name of the Connections association. |
static java.lang.String |
ASSOCIATION_LOGINS_NAME
Constant used for the name of the Logins association. |
static java.lang.String |
ATTRIBUTE_OUTBOUNDONLY_NAME
Constant used for the name of the OutboundOnly attribute. |
static java.lang.String |
ATTRIBUTE_TRUSTEDONLY_NAME
Constant used for the name of the TrustedOnly 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 | |
---|---|
AssociationList |
getConnections()
Gets the Association list of Connections |
AssociationList |
getConnections(boolean fGoToServer)
Gets the Associationlist of Connections |
AssociationList |
getLogins()
Gets the Association list of Logins |
AssociationList |
getLogins(boolean fGoToServer)
Gets the Associationlist of Logins |
int |
getOutboundOnly()
Gets the int value of OutboundOnly |
int |
getOutboundOnlyState()
Gets the Metadata State of OutboundOnly |
int |
getTrustedOnly()
Gets the int value of TrustedOnly |
int |
getTrustedOnlyState()
Gets the Metadata State of TrustedOnly |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setConnections(AssociationList list)
Sets the Connections list to be list . |
void |
setConnections(AssociationList inObjects,
int state)
Sets the entire Connections list to match the passed in AssociationList, sets the state of the Connections |
void |
setLogins(AssociationList list)
Sets the Logins list to be list . |
void |
setLogins(AssociationList inObjects,
int state)
Sets the entire Logins list to match the passed in AssociationList, sets the state of the Logins |
void |
setOutboundOnly(int inOutboundOnly)
Sets the OutboundOnly value and sets the state to MetadataState.LOCAL. |
void |
setOutboundOnly(int inOutboundOnly,
int state)
Sets the OutboundOnly Metadata State. |
void |
setOutboundOnly(java.lang.String inOutboundOnly)
Sets the OutboundOnly value and sets the state to MetadataState.LOCAL. |
void |
setOutboundOnly(java.lang.String inOutboundOnly,
int state)
Sets the OutboundOnly value and Metadata State. |
void |
setOutboundOnlyState(int state)
Sets the Metadata State of OutboundOnly . |
void |
setTrustedOnly(int inTrustedOnly)
Sets the TrustedOnly value and sets the state to MetadataState.LOCAL. |
void |
setTrustedOnly(int inTrustedOnly,
int state)
Sets the TrustedOnly Metadata State. |
void |
setTrustedOnly(java.lang.String inTrustedOnly)
Sets the TrustedOnly value and sets the state to MetadataState.LOCAL. |
void |
setTrustedOnly(java.lang.String inTrustedOnly,
int state)
Sets the TrustedOnly value and Metadata State. |
void |
setTrustedOnlyState(int state)
Sets the Metadata State of TrustedOnly . |
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_OUTBOUNDONLY_NAME
OutboundOnly: Indicates that logins within the domain will only be used to establish connections to other servers.
static final java.lang.String ATTRIBUTE_TRUSTEDONLY_NAME
TrustedOnly: Indicates the login will be subject to special access rules.
static final java.lang.String ASSOCIATION_CONNECTIONS_NAME
Connections: The list of connection objects that require user ID's and credentials that are part of this authorization domain.
static final java.lang.String ASSOCIATION_LOGINS_NAME
Logins: The list of login objects (user ID's and passwords) that are valid in this authorization domain.
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
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface PrimaryType
initializePredObjects
in interface Root
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.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.AssociationList getConnections() throws java.rmi.RemoteException, MdException
Connections
Connections
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 getLogins() throws java.rmi.RemoteException, MdException
Logins
Logins
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 getConnections(boolean fGoToServer) throws java.rmi.RemoteException, MdException
Connections
fGoToServer
- boolean Get the value from the server.
Connections
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 getLogins(boolean fGoToServer) throws java.rmi.RemoteException, MdException
Logins
fGoToServer
- boolean Get the value from the server.
Logins
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 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 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 setConnections(AssociationList list) throws java.rmi.RemoteException
Connections
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setConnections(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setLogins(AssociationList list) throws java.rmi.RemoteException
Logins
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setLogins(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 |