001    package railo.runtime.user;
002    
003    
004    /**
005     * a simple implementation of a Credentials
006     */
007    public final class SimpleCredentials implements Credentials {
008        
009        private String username;
010        private String password;
011    
012        public SimpleCredentials(String username, String password) {
013            this.username=username;
014            this.password=password;
015        }
016        
017        /**
018         * @see railo.runtime.user.Credentials#getUsername()
019         */
020        public String getUsername() {
021            return username;
022        }
023    
024        /**
025         * @see railo.runtime.user.Credentials#getPassword()
026         */
027        public String getPassword() {
028            return password;
029        }
030    
031    }