All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.day.cq.security.profile.ProfileManager Maven / Gradle / Ivy

There is a newer version: 2024.11.18751.20241128T090041Z-241100
Show newest version
/*
 * Copyright 1997-2009 Day Management AG
 * Barfuesserplatz 6, 4001 Basel, Switzerland
 * All Rights Reserved.
 *
 * This software is the confidential and proprietary information of
 * Day Management AG, ("Confidential Information"). You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with Day.
 */
package com.day.cq.security.profile;

import javax.jcr.RepositoryException;
import javax.jcr.Session;

import com.day.cq.security.Authorizable;

/**
 * Provide access to Profiles of {@link Authorizable Authorizables}.
 * A Profile may be associated with a given application.
 *
 * @deprecated cq 5.5
 */
public interface ProfileManager {

    /**
     * 

getProfile.

* * @param authorizableId ID of the * {@link com.day.cq.security.Authorizable Authorizable} to access * the Profile for * @param session to use to access the * {@link com.day.cq.security.profile.Profile Profile} with * @return Profile or null if none defined or accessible * @throws javax.jcr.RepositoryException in case of error accessing the Repository */ Profile getProfile(String authorizableId, Session session) throws RepositoryException; /** *

getProfile.

* * @param authorizableId ID of the * {@link com.day.cq.security.Authorizable Authorizable} to access * the Profile for * @param session to use to access the * {@link com.day.cq.security.profile.Profile Profile} with * @param appName identifier of the application the profile is dedicated to * @return Profile or null if none defined or accessible * @throws javax.jcr.RepositoryException in case of error accessing the Repository */ Profile getProfile(String authorizableId, Session session, String appName) throws RepositoryException; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy