***  This API provides Binary Compatibility only, not Source Compatibility  ***

com.sas.services.information.metadata
Class LdapLogin

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--com.sas.services.information.metadata.Metadata
                          |
                          +--com.sas.services.information.metadata.LdapLogin
All Implemented Interfaces:
LoginInterface, MetadataInterface,

public class LdapLogin
extends Metadata
implements LoginInterface, java.io.Serializable

LDAP repository representation of a login.

Since:
1.0
See Also:
Serialized Form

Fields inherited from class com.sas.services.information.metadata.Metadata
_repository, _repositoryFlag, _repositoryObject, formats, gmtZone, REPOSITORY_DAV, REPOSITORY_LDAP, REPOSITORY_NONE, REPOSITORY_OMR
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Fields inherited from interface com.sas.services.information.metadata.MetadataInterface
PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA
 
Constructor Summary
LdapLogin()
           
LdapLogin(RepositoryInterface repos, String name, FolderInterface parent)
           
LdapLogin(Saslogin o)
           
 
Method Summary
 void addUser(PersonInterface user)
          Add a user to the list of allowed clients.
 String getDomain()
          Get the security domain for the login.
 int getMinAvail()
          Returns the minimum number of servers that should be started when this login is used to authenticate.
 int getMinSize()
          Returns the minimum size pooling parameter.
 String getName()
          Get the name for this object.
 String getPassword()
          Get the password for the login.
 String getType()
          Get the object type.
 String getUserId()
          Get the user ID for this login.
 List getUsers()
          Get a list of the users that are authorized to use this login.
 void removeUser(PersonInterface user)
          Remove a user from the list of allowed clients.
 void setMinAvail(int min)
          Set the minimum available pooling parameter.
 void setMinSize(int size)
          Set the minimum size pooling parameter.
 void setPassword(String password)
          Set the password for this login.
 void setUserId(String uid)
          Set the user ID for this login.
 
Methods inherited from class com.sas.services.information.metadata.Metadata
add, addAccessControl, addAttribute, addAttributes, addExtension, addKeyword, addPermissions, addRemark, addTransactionListener, checkin, checkout, clearInformationService, commit, copyTo, delete, deleteAttribute, deleteAttributes, getAccessControls, getAttribute, getAttributes, getCreateDate, getDescription, getEntityKey, getEntityURL, getExtensions, getGUID, getIdentities, getInformationService, getKeywords, getModifyDate, getParentPath, getParents, getPath, getPaths, getPathUrl, getPathUrl, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getRemarksList, getReposId, getRepository, getRepositoryEntity, getReposKey, getTrackingId, getTreeRefresh, getVersion, isAuthorized, isLoggingEnabled, logMessage, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, notifyTransactionListeners, refresh, removeAccessControl, removeExtension, removeKeyword, removePermissions, rollback, setAttribute, setAttributes, setDescription, setGUID, setKeywords, setName, setPermission, setRemarksList, setRepository, setTreeRefresh, startTransaction, transactionEvent, uncheckout, update, version
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sas.services.information.metadata.MetadataInterface
add, addAccessControl, addAttribute, addAttributes, addExtension, addKeyword, addPermissions, addRemark, addTransactionListener, checkin, checkout, commit, copyTo, delete, deleteAttribute, deleteAttributes, getAccessControls, getAttribute, getAttributes, getCreateDate, getDescription, getEntityKey, getEntityURL, getExtensions, getGUID, getIdentities, getKeywords, getModifyDate, getParentPath, getParents, getPath, getPaths, getPathUrl, getPathUrl, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getRemarksList, getReposId, getRepository, getRepositoryEntity, getReposKey, getTrackingId, getVersion, isAuthorized, isLoggingEnabled, logMessage, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, refresh, removeAccessControl, removeExtension, removeKeyword, removePermissions, rollback, setAttribute, setAttributes, setDescription, setGUID, setKeywords, setName, setPermission, setRemarksList, setRepository, startTransaction, transactionEvent, uncheckout, update, version
 

Constructor Detail

LdapLogin

public LdapLogin()
          throws RemoteException

LdapLogin

public LdapLogin(Saslogin o)
          throws RemoteException

LdapLogin

public LdapLogin(RepositoryInterface repos,
                 String name,
                 FolderInterface parent)
          throws RemoteException
Method Detail

getName

public String getName()
               throws RemoteException
Description copied from interface: MetadataInterface
Get the name for this object.

Specified by:
getName in interface MetadataInterface
Overrides:
getName in class Metadata
Following copied from interface: com.sas.services.information.metadata.MetadataInterface
Returns:
The object name.
Throws:
RemoteException - if an error occurs

getType

public String getType()
               throws RemoteException
Description copied from interface: MetadataInterface
Get the object type. Subclasses of Metadata will return a repository-neutral type string. If no subclass exists, Metadata returns the repository-specific type.
Specified by:
getType in interface MetadataInterface
Overrides:
getType in class Metadata
Following copied from interface: com.sas.services.information.metadata.MetadataInterface
Returns:
A type string for the object.
Throws:
RemoteException - if an error occurs

getUserId

public String getUserId()
                 throws RemoteException
Get the user ID for this login.

Specified by:
getUserId in interface LoginInterface
Returns:
The user id.

setUserId

public void setUserId(String uid)
               throws RemoteException
Set the user ID for this login.

Specified by:
setUserId in interface LoginInterface
Parameters:
uid - The new user id.

getPassword

public String getPassword()
                   throws RemoteException
Get the password for the login.

Specified by:
getPassword in interface LoginInterface
Returns:
the password.

setPassword

public void setPassword(String password)
                 throws RemoteException
Set the password for this login.

Specified by:
setPassword in interface LoginInterface
Parameters:
password - The new password.

getDomain

public String getDomain()
                 throws RemoteException
Get the security domain for the login.

Specified by:
getDomain in interface LoginInterface
Returns:
The security domain.

getUsers

public List getUsers()
              throws RemoteException
Get a list of the users that are authorized to use this login.

Specified by:
getUsers in interface LoginInterface
Returns:
A list of Person objects that are allowed to use this login.

addUser

public void addUser(PersonInterface user)
             throws RemoteException
Add a user to the list of allowed clients.

Specified by:
addUser in interface LoginInterface
Parameters:
user - The new user to add to the allowed clients.

removeUser

public void removeUser(PersonInterface user)
                throws RemoteException
Remove a user from the list of allowed clients.

Specified by:
removeUser in interface LoginInterface
Parameters:
user - The user to remove from the allowed client list.

getMinAvail

public int getMinAvail()
                throws RemoteException
Returns the minimum number of servers that should be started when this login is used to authenticate.

Specified by:
getMinAvail in interface LoginInterface
Returns:
The minimum available server count.

setMinAvail

public void setMinAvail(int min)
                 throws RemoteException
Set the minimum available pooling parameter.

Specified by:
setMinAvail in interface LoginInterface
Parameters:
min - The new minimum available setting.

getMinSize

public int getMinSize()
               throws RemoteException
Returns the minimum size pooling parameter.

Specified by:
getMinSize in interface LoginInterface
Returns:
The minsize.

setMinSize

public void setMinSize(int size)
                throws RemoteException
Set the minimum size pooling parameter.

Specified by:
setMinSize in interface LoginInterface
Parameters:
size - The new minimum size parameter.

***  This API provides Binary Compatibility only, not Source Compatibility  ***




Copyright © 2006 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 17:28:57