railo.runtime.security
Interface Credential

All Superinterfaces:
ScriptConvertable

public interface Credential
extends ScriptConvertable

Credential interface


Method Summary
 java.lang.String encode()
          encode rhe Credential to a Base64 String value
 java.lang.String getPassword()
           
 java.lang.String[] getRoles()
           
 java.lang.String getUsername()
           
 
Methods inherited from interface railo.runtime.converter.ScriptConvertable
serialize
 

Method Detail

getPassword

public java.lang.String getPassword()
Returns:
Returns the password.

getRoles

public java.lang.String[] getRoles()
Returns:
Returns the roles.

getUsername

public java.lang.String getUsername()
Returns:
Returns the username.

encode

public java.lang.String encode()
                        throws PageException
encode rhe Credential to a Base64 String value

Returns:
base64 encoded string
Throws:
PageException