uk.org.ury.backend.config
Class Auth

java.lang.Object
  extended by uk.org.ury.backend.config.Auth

public class Auth
extends java.lang.Object

A login authorisation configuration

Author:
Nathan Lasseter

Constructor Summary
Auth(java.lang.String user, java.lang.String pass)
          Create a login auth object
 
Method Summary
 java.lang.String getPass()
          Get the password of the login
 java.lang.String getUser()
          Get the username of the login
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Auth

public Auth(java.lang.String user,
            java.lang.String pass)
Create a login auth object

Parameters:
user - The username for the login
pass - The password for the login
Method Detail

getUser

public java.lang.String getUser()
Get the username of the login

Returns:
String username

getPass

public java.lang.String getPass()
Get the password of the login

Returns:
String password