RepositoryImpl Class
- public class RepositoryImpl
extends Object
implements Repository
Represents a new WLP Content Repository the invokes an old ContentManager.
The adapter code will look for the ContentManager/DocumentManager JNDI home
name in the connection properties under "CONTENT_MANAGER_HOME".
-
Hierarchy
-
Object
RepositoryImpl
-
All Implemented Interfaces
-
Repository
, Serializable
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepositoryImpl
public RepositoryImpl()
connect(Credentials) Method
public Ticket
connect(Credentials
credential)
Returns a ticket if the user can be authenticated.
Parameters
-
credential
- - the credentials of the user connecting to the
Repository.
connect(String, String) Method
public Ticket
connect(String
userName,
String
password)
Description copied from Repository.connect(String, String)
Returns a ticket if the user can be authenticated.
Parameters
-
userName
- - the username to authenticate.
-
password
- - the password for the user.
getName() Method
public String
getName()
Description copied from Repository.getName()
Gets the name of this Repository.
getProperties() Method
public Properties
getProperties()
Gets the configuration properties for this repository.
Returns
- Properties - the repository configuration properties.
setName(String) Method
public void setName(String
name)
Description copied from Repository.setName(String)
Sets the name of this Repository. This will always be set
before connect is called.
setProperties(Properties) Method
public void setProperties(Properties
properties)
Sets the configuration properties for this repository. The config
map will always be set before getTicket is called.
Parameters
-
properties
- - the repository configuration properties.