Class ContentStoreAuthenticationProvider

  • All Implemented Interfaces:
    org.springframework.security.authentication.AuthenticationProvider

    public class ContentStoreAuthenticationProvider
    extends Object
    implements org.springframework.security.authentication.AuthenticationProvider
    A custom authentication provider that grants ROLE_USER authority to a client who successfully logs into the content store manager.
    Version:
    $Id$
    Author:
    Daniel Bernstein
    • Constructor Detail

      • ContentStoreAuthenticationProvider

        public ContentStoreAuthenticationProvider()
    • Method Detail

      • authenticate

        public org.springframework.security.core.Authentication authenticate​(org.springframework.security.core.Authentication authentication)
                                                                      throws org.springframework.security.core.AuthenticationException
        Specified by:
        authenticate in interface org.springframework.security.authentication.AuthenticationProvider
        Throws:
        org.springframework.security.core.AuthenticationException
      • supports

        public boolean supports​(Class authentication)
        Specified by:
        supports in interface org.springframework.security.authentication.AuthenticationProvider
      • setContentStoreManager

        public void setContentStoreManager​(ContentStoreManager contentStoreManager)