Package org.jasig.portal.persondir

Examples of org.jasig.portal.persondir.ILocalAccountDao


  public synchronized void authenticate() throws PortalSecurityException {
    this.isauth = true;
    if (this.myPrincipal.UID != null) {
      try {
        String first_name, last_name;
        ILocalAccountDao accountStore = LocalAccountDaoLocator.getLocalAccountDao();
        ILocalAccountPerson account = accountStore.getPerson(this.myPrincipal.UID);
        if (account != null) {
            first_name = (String) account.getAttributeValue("given");
            last_name = (String) account.getAttributeValue("sn");
          this.myPrincipal.FullName = first_name + " " + last_name;
          if (log.isInfoEnabled())
View Full Code Here


        if (this.myPrincipal.UID != null
                && this.myOpaqueCredentials.credentialstring != null) {

            try {
               
                ILocalAccountDao accountStore = LocalAccountDaoLocator
                        .getLocalAccountDao();
                IPortalPasswordService passwordService = PortalPasswordServiceLocator
                        .getPortalPasswordService();

                // retrieve the account from the local user store
                ILocalAccountPerson account = accountStore.getPerson(this.myPrincipal.UID);
               
                if (account != null) {

                    // get the account password as an ASCII string
                    String loginPassword = new String(this.myOpaqueCredentials.credentialstring);
View Full Code Here

TOP

Related Classes of org.jasig.portal.persondir.ILocalAccountDao

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.