Package org.apache.sling.engine.auth

Examples of org.apache.sling.engine.auth.AuthenticationInfo


    private AuthenticationInfo getAuthInfoFromUser(OpenIdUser user) {
      String jcrId = OpenIDUserUtil.getPrincipalName(user.getIdentity());

      SimpleCredentials creds = new SimpleCredentials(jcrId,new char[0]);
      creds.setAttribute(getClass().getName(), user);
        return new AuthenticationInfo(OpenIDConstants.OPEN_ID_AUTH_TYPE, creds);
    }
View Full Code Here

TOP

Related Classes of org.apache.sling.engine.auth.AuthenticationInfo

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.