*** This interface provides Binary Compatibility only, not Source Compatibility ***
Interface LoginInterface
- All Superinterfaces:
MetadataInterface,PublicObjectInterface,Remote
This is a generic interface for interacting with a repository
entry that represents a login object.
- Since:
- 1.0
-
Field Summary
Fields inherited from interface com.sas.services.information.metadata.MetadataInterface
METADATA_STATE_DELETED, METADATA_STATE_DESTROYED, METADATA_STATE_NEW, METADATA_STATE_NORMAL, PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA -
Method Summary
Modifier and TypeMethodDescriptionvoidaddUser(PersonInterface user) Add a user to the list of allowed clients.StringGet the security domain for the login.Get the identity associated to this login.intReturns the minimum number of servers that should be started when this login is used to authenticate.intReturns the minimum size pooling parameter.StringGet the password for the login.StringGet the user ID for this login.ListgetUsers()Get a list of the users that are authorized to use this login.voidremoveUser(PersonInterface user) Remove a user from the list of allowed clients.voidsetDomain(String domain) Set the authentication domain for the Login.voidsetMinAvail(int min) Set the minimum available pooling parameter.voidsetMinSize(int size) Set the minimum size pooling parameter.voidsetPassword(String password) Set the password for this login.voidsetUserId(String uid) Set the user ID for this login.Methods inherited from interface com.sas.services.information.metadata.MetadataInterface
add, addAccessControl, addAttribute, addAttributes, addDocument, addExtension, addGroup, addImplementor, addKeyword, addNoteTextStore, addNoteTextStore, addObjectProperty, addObjectProperty, addPermissions, addPrompt, addPropertySet, addRemark, addResponsibleParty, addTransactionListener, addUsedByPrototype, checkin, checkout, commit, copyTo, countAssociatedObjects, delete, deleteAttribute, deleteAttributes, destroy, getAccessControls, getAttribute, getAttributes, getAuthorizationUtil, getCreateDate, getCreatedBy, getDescription, getDocuments, getEntityKey, getEntityURL, getExtensions, getGroups, getGUID, getIdentities, getImplementors, getKeywords, getLockedBy, getModifiedBy, getModifyDate, getNoteTextStore, getNoteTextStores, getNoteTextStoresByRole, getObjectProperties, getParent, getParentPath, getParents, getPath, getPaths, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getPrimaryPropertyGroup, getPrompt, getPrompts, getPropertyBag, getPropertySets, getRemarksList, getReposId, getRepository, getRepositoryEntity, getRepositoryName, getReposKey, getResponsibleParties, getState, getTrackingId, getType, getUsageVersion, getUsedByPrototypes, getUsingPrototype, getVersion, isAuthorized, isCompatible, isDeleted, isDestroyed, isObjectAlive, isReadCompatible, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, refresh, removeAccessControl, removeDocument, removeExtension, removeGroup, removeImplementor, removeKeyword, removeNoteTextStore, removeObjectProperty, removePermissions, removePrompt, removePropertySet, removeResponsibleParty, removeResponsiblePartyByIdentity, removeUsedByPrototype, rollback, setAttribute, setAttributes, setDeleted, setDescription, setDocuments, setExtensions, setGroups, setGUID, setKeywords, setName, setNoteTextStores, setObjectProperties, setPermission, setPrimaryPropertyGroup, setPrompt, setPrompts, setRemarksList, setRepository, setUsingPrototype, startTransaction, toByteArray, transactionEvent, uncheckout, update, updateFromBag, versionMethods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor
-
Method Details
-
getUserId
Get the user ID for this login.- Returns:
- The user id.
- Throws:
ServiceException- If a serice level error occurs.RemoteException- in the event of remote object failure.
-
setUserId
Set the user ID for this login.- Parameters:
uid- The new user id.- Throws:
ServiceException- If a serice level error occurs.RemoteException- in the event of remote object failure.
-
getPassword
Get the password for the login.- Returns:
- the password.
- Throws:
ServiceException- If a serice level error occurs.RemoteException- in the event of remote object failure.
-
setPassword
Set the password for this login.- Parameters:
password- The new password.- Throws:
ServiceException- If a serice level error occurs.RemoteException- in the event of remote object failure.
-
getDomain
Get the security domain for the login.- Returns:
- The security domain.
- Throws:
ServiceException- If a serice level error occurs.RemoteException- in the event of remote object failure.
-
setDomain
Set the authentication domain for the Login.- Parameters:
domain- The new authentication domain.- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
getIdentity
Get the identity associated to this login.- Returns:
- The Identity associated to this login.
- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
getUsers
Get a list of the users that are authorized to use this login.- Returns:
- A list of Person objects that are allowed to use this login.
- Throws:
ServiceException- If a serice level error occurs.RemoteException- in the event of remote object failure.
-
addUser
Add a user to the list of allowed clients.- Parameters:
user- The new user to add to the allowed clients.- Throws:
ServiceException- If a serice level error occurs.RemoteException- in the event of remote object failure.
-
removeUser
Remove a user from the list of allowed clients.- Parameters:
user- The user to remove from the allowed client list.- Throws:
ServiceException- If a serice level error occurs.RemoteException- in the event of remote object failure.
-
getMinAvail
int getMinAvail() throws RemoteExceptionReturns the minimum number of servers that should be started when this login is used to authenticate.- Returns:
- The minimum available server count.
- Throws:
RemoteException- in the event of remote object failure.
-
setMinAvail
void setMinAvail(int min) throws RemoteException Set the minimum available pooling parameter.- Parameters:
min- The new minimum available setting.- Throws:
RemoteException- in the event of remote object failure.
-
getMinSize
int getMinSize() throws RemoteExceptionReturns the minimum size pooling parameter.- Returns:
- The minsize.
- Throws:
RemoteException- in the event of remote object failure.
-
setMinSize
void setMinSize(int size) throws RemoteException Set the minimum size pooling parameter.- Parameters:
size- The new minimum size parameter.- Throws:
RemoteException- in the event of remote object failure.
-