Package org.picketlink.idm.model

Examples of org.picketlink.idm.model.Account


    protected void listenEndDance(@Observes OAuthComplete complete, Identity identity) {
        Identity.AuthenticationResult result = identity.login();
    }

    protected void listenLogout(@Observes PostLoggedOutEvent plo) {
        Account account = plo.getAccount();
        if (account instanceof AgoravaUser) {
            lfs.getCurrentRepository().clear();
        }
    }
View Full Code Here


    }


    @Override
    protected boolean validateCredential(IdentityContext context, CredentialStorage credentialStorage, UsernamePasswordCredentials credentials, LDAPIdentityStore ldapIdentityStore) {
        Account account = getAccount(context, credentials.getUsername());
        char[] password = credentials.getPassword().getValue();
        String userDN = getDNOfUser(ldapIdentityStore, account);
        if (CREDENTIAL_LOGGER.isDebugEnabled()) {
            CREDENTIAL_LOGGER.debugf("Using DN [%s] for authentication of user [%s]", userDN, credentials.getUsername());
        }
View Full Code Here

TOP

Related Classes of org.picketlink.idm.model.Account

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.