org.omwg.versioning
Class SimpleUserCredentials

java.lang.Object
  extended by org.omwg.versioning.SimpleUserCredentials
All Implemented Interfaces:
UserCredentials

public class SimpleUserCredentials
extends java.lang.Object
implements UserCredentials

This is the initial, naive implementation of user credentials. We expect this class will be replaced by security part of a repository API.

Author:
jacek

Constructor Summary
SimpleUserCredentials(java.lang.String user)
          Constructor with the user name as the single parameter.
 
Method Summary
 java.lang.String getUserName()
          Returns the name of the user.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleUserCredentials

public SimpleUserCredentials(java.lang.String user)
Constructor with the user name as the single parameter.

Parameters:
user - the user name
Method Detail

getUserName

public java.lang.String getUserName()
Description copied from interface: UserCredentials
Returns the name of the user.

Specified by:
getUserName in interface UserCredentials
Returns:
the name of the user.