Class Authentication

java.lang.Object
edu.internet2.middleware.grouper.j2ee.Authentication

public class Authentication extends Object
  • Constructor Details

    • Authentication

      public Authentication()
  • Method Details

    • main

      public static void main(String[] args)
    • colonIndexOf

      public static int colonIndexOf(String credentials)
      Parameters:
      credentials -
      Returns:
      the index of the right colon
    • unescapeColons

      public static String unescapeColons(String userOrPass)
      if configured to unescape colons, unescape colons
      Parameters:
      userOrPass -
      Returns:
      the unescaped user or pass
    • retrieveUsername

      public static final String retrieveUsername(String authHeader)
    • retrievePassword

      public static final String retrievePassword(String authHeader)
    • authenticate

      public boolean authenticate(String authHeader, GrouperPassword.Application application, String requesterIpAddress)
    • assignUserPassword

      public void assignUserPassword(GrouperPasswordSave grouperPasswordSave)