java.lang.Object
ch.tocco.nice2.optional.cms.impl.publish.exception.accessdenied.LoginPageServiceImpl
All Implemented Interfaces:
LoginPageService

@Component public class LoginPageServiceImpl extends Object implements LoginPageService
  • Constructor Details

    • LoginPageServiceImpl

      public LoginPageServiceImpl(SecurityManager securityManager)
  • Method Details

    • getLoginPage

      public Optional<PageNode> getLoginPage(ContentTreeNode fallbackNode)
      Description copied from interface: LoginPageService
      Resolve the login page for any fallback node. You can pass any ContentTreeNode. Then the root node of this ContentTreeNode is resolved. If the root node is a CmsDomainNode, the login page that is selected on the domain will be returned.
      Specified by:
      getLoginPage in interface LoginPageService
      Parameters:
      fallbackNode - Any ContentTreeNode.
      Returns:
      the login page that is selected on the domain.