Class PerunAuthenticatorImpl

java.lang.Object
java.net.Authenticator
cz.metacentrum.perun.core.impl.PerunAuthenticatorImpl

@ThreadSafe public class PerunAuthenticatorImpl extends Authenticator
  • Method Details

    • getPerunAuthenticator

      public static PerunAuthenticatorImpl getPerunAuthenticator()
    • getPasswordAuthentication

      protected PasswordAuthentication getPasswordAuthentication()
      Overrides:
      getPasswordAuthentication in class Authenticator
      See Also:
    • registerAuthenticationForURL

      public boolean registerAuthenticationForURL(URL url, PasswordAuthentication passwordAuthentication)
      Register passwordAuthentication for specific URL. If there is some passwordAuthentication already registered for the url it is replaced by the new one.
      Parameters:
      url -
      passwordAuthentication -
      Returns:
      true if there is no passwordAuthentication already registered for the URL, false otherwise
    • unRegisterAuthenticationForURL

      public boolean unRegisterAuthenticationForURL(URL url)
      Unregister passwordAuthentication for specific URL.
      Parameters:
      url -
      Returns:
      true if there was passwordAuthentication registered for the URL