Package org.apache.sling.serviceusermapping

Examples of org.apache.sling.serviceusermapping.ServiceUserMapper


     * @throws RepositoryException If a general error occurs while creating the
     *             session
     */
    public final Session loginService(String subServiceName, String workspace) throws LoginException,
            RepositoryException {
        final ServiceUserMapper serviceUserMapper = this.getSlingRepositoryManager().getServiceUserMapper();
        final String userName = (serviceUserMapper != null) ? serviceUserMapper.getServiceUserID(this.usingBundle,
            subServiceName) : null;
        if (userName == null) {
            throw new LoginException("Cannot derive user name for bundle " + usingBundle + " and sub service "
                + subServiceName);
        }
View Full Code Here

TOP

Related Classes of org.apache.sling.serviceusermapping.ServiceUserMapper

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.