Package org.apache.jetspeed.administration

Examples of org.apache.jetspeed.administration.PortalConfiguration


    {
        // lazily access configured guest principal name
        if (guestPrincipalName == null)
        {
            guestPrincipalName = DEFAULT_GUEST_PRINCIPAL_NAME;
            PortalConfiguration config = Jetspeed.getConfiguration();
            if (config != null)
            {
                String configGuestPrincipalName = config.getString("default.user.principal");
                if (configGuestPrincipalName != null)
                {
                    guestPrincipalName = configGuestPrincipalName;
                }
            }
View Full Code Here


    {
        // lazily access configured guest principal name
        if (guestPrincipalName == null)
        {
            guestPrincipalName = DEFAULT_GUEST_PRINCIPAL_NAME;
            PortalConfiguration config = Jetspeed.getConfiguration();
            if (config != null)
            {
                String configGuestPrincipalName = config.getString("default.user.principal");
                if (configGuestPrincipalName != null)
                {
                    guestPrincipalName = configGuestPrincipalName;
                }
            }
View Full Code Here

    /* (non-Javadoc)
     * @see javax.servlet.Filter#init(javax.servlet.FilterConfig)
     */
    public void init(FilterConfig filterConfig) throws ServletException
    {
        PortalConfiguration config = Jetspeed.getConfiguration();
        if (config != null)
        {
            guest = config.getString("default.user.principal");
        }
    }
View Full Code Here

    public static String CAS_FILTER_USER = "edu.yale.its.tp.cas.client.filter.user";
  protected String guest = "guest";
   
    public void init(FilterConfig filterConfig) throws ServletException
    {
        PortalConfiguration config = Jetspeed.getConfiguration();
        if (config != null)
            guest = config.getString("default.user.principal");               
    }
View Full Code Here

{
    protected String guest = "guest";
   
    public void init(FilterConfig filterConfig) throws ServletException
    {
        PortalConfiguration config = Jetspeed.getConfiguration();
        if (config != null)
            guest = config.getString("default.user.principal");               
    }
View Full Code Here

      this( pageManager, profilerValve, Boolean.FALSE );
    }
    public PortletActionSecurityConstraintsBehavior(PageManager pageManager, PageProfilerValve profilerValve, Boolean enableCreateUserPagesFromRolesOnEdit )
    {
        super( pageManager, profilerValve, enableCreateUserPagesFromRolesOnEdit );
        PortalConfiguration config = Jetspeed.getConfiguration();
        if (config != null)
        {
            guest = config.getString("default.user.principal");
        }
    }
View Full Code Here

        if (null == jptFactory)
        {
            throw new PortletException("Failed to find the JPT Factory on portlet initialization");
        }       
       
        PortalConfiguration portalConfiguration = (PortalConfiguration) getPortletContext().getAttribute(CommonPortletServices.CPS_PORTAL_CONFIGURATION);
        if (null == portalConfiguration)
        {
            throw new PortletException("Failed to find the Portal Configuration on portlet initialization");
        }       
        storeViewPageInSession = portalConfiguration.getBoolean("layout.page.storeViewPageInSession", true);
        // jetui configuration       
        String jetuiMode = portalConfiguration.getString(PortalConfigurationConstants.JETUI_CUSTOMIZATION_METHOD, PortalConfigurationConstants.JETUI_CUSTOMIZATION_SERVER);
        this.supportsAjax = (jetuiMode.equals(PortalConfigurationConstants.JETUI_CUSTOMIZATION_AJAX));
        this.ajaxViewLayout = portalConfiguration.getString(PortalConfigurationConstants.JETUI_LAYOUT_VIEW, "jetui");
        this.ajaxMaxLayout = portalConfiguration.getString(PortalConfigurationConstants.JETUI_LAYOUT_MAX, "maximized");
        this.ajaxSoloLayout = portalConfiguration.getString(PortalConfigurationConstants.JETUI_LAYOUT_SOLO, "solo");
       
        templateLocator = (TemplateLocator) getPortletContext().getAttribute("TemplateLocator");
        decorationLocator = (TemplateLocator) getPortletContext().getAttribute("DecorationLocator");
    }
View Full Code Here

TOP

Related Classes of org.apache.jetspeed.administration.PortalConfiguration

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.