railo.runtime.security
Interface Credential

All Superinterfaces:
ScriptConvertable
All Known Implementing Classes:
CredentialImpl

public interface Credential
extends ScriptConvertable

Credential interface


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

Method Detail

getPassword

String getPassword()
Returns:
Returns the password.

getRoles

String[] getRoles()
Returns:
Returns the roles.

getUsername

String getUsername()
Returns:
Returns the username.

encode

String encode()
              throws PageException
encode rhe Credential to a Base64 String value

Returns:
base64 encoded string
Throws:
PageException


Copyright © 2012 Railo