Class MCRSwordDefaultAuthHandler

java.lang.Object
org.mycore.sword.application.MCRSwordAuthHandler
org.mycore.sword.application.MCRSwordDefaultAuthHandler

public class MCRSwordDefaultAuthHandler extends MCRSwordAuthHandler
This implementation ignores the on-behalf-of header in request and just authenticate with MyCoRe user and password.
Author:
Sebastian Hofmann (mcrshofm)
  • Constructor Details

    • MCRSwordDefaultAuthHandler

      public MCRSwordDefaultAuthHandler()
  • Method Details

    • authentication

      public void authentication(org.swordapp.server.AuthCredentials credentials) throws org.swordapp.server.SwordAuthException
      Specified by:
      authentication in class MCRSwordAuthHandler
      Throws:
      org.swordapp.server.SwordAuthException