br.gov.frameworkdemoiselle.security
Class Credentials

java.lang.Object
  extended by br.gov.frameworkdemoiselle.security.Credentials
All Implemented Interfaces:
Serializable

@Named
@RequestScoped
public class Credentials
extends Object
implements Serializable

This classes keeps credential informations, username and password.

Author:
SERPRO
See Also:
Serialized Form

Constructor Summary
Credentials()
           
 
Method Summary
 void clear()
          Cleans the stored information, setting username and password to null.
 String getPassword()
           
 String getUsername()
           
 void setPassword(String password)
           
 void setUsername(String username)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Credentials

public Credentials()
Method Detail

clear

public void clear()
Cleans the stored information, setting username and password to null.


getUsername

public String getUsername()

setUsername

public void setUsername(String username)

getPassword

public String getPassword()

setPassword

public void setPassword(String password)


Copyright © 2015 SERPRO - Serviço Federal de Processamento de Dados. All Rights Reserved.