Package org.picketlink.idm.api

Examples of org.picketlink.idm.api.Credential


    private RoleBasedPermissionStore roleBasedPermissionStore;

    public void authenticate() {
        upgradeGuestToAdmin();
        String username = credentials.getUsername();
        Credential credential = credentials.getCredential();
        if (username == null || !(credential instanceof PasswordCredential)) {
            setStatus(AuthenticationStatus.FAILURE);
            log.info("Demo login for user (" + username + ") failed: unsupported username/credential.");
            return;
        }
View Full Code Here

TOP

Related Classes of org.picketlink.idm.api.Credential

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.