// exit()
public void retrievePassword(ActionEvent actionEvent) {
try {
CredentialStore store = jpsCtx.getServiceInstance(CredentialStore.class);
PasswordCredential password =
(PasswordCredential)store.getCredential(this.getMap(),
this.getKey());
this.keyUsername = password.getName();
this.keyPassword = new String(password.getPassword());
FacesMessage fm = new FacesMessage("Succes");
fm.setSeverity(FacesMessage.SEVERITY_INFO);
FacesContext context = FacesContext.getCurrentInstance();
context.addMessage(null, fm);