Package oracle.security.jps.service.credstore

Examples of oracle.security.jps.service.credstore.PasswordCredential


//  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);
View Full Code Here

TOP

Related Classes of oracle.security.jps.service.credstore.PasswordCredential

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.