railo.commons.security
Class CredentialsImpl

java.lang.Object
  extended by railo.commons.security.CredentialsImpl
All Implemented Interfaces:
Credentials

public class CredentialsImpl
extends Object
implements Credentials


Method Summary
 String getPassword()
           
 String getUsername()
           
static Credentials toCredentials(String username, String password)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getUsername

public String getUsername()
Specified by:
getUsername in interface Credentials
Returns:
returns the username

getPassword

public String getPassword()
Specified by:
getPassword in interface Credentials
Returns:
returns the password

toCredentials

public static Credentials toCredentials(String username,
                                        String password)


Copyright © 2012 Railo