Class Authentication
java.lang.Object
edu.internet2.middleware.grouper.j2ee.Authentication
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assignUserPassword
(GrouperPasswordSave grouperPasswordSave) boolean
authenticate
(String authHeader, GrouperPassword.Application application, String requesterIpAddress) static int
colonIndexOf
(String credentials) static void
static final String
retrievePassword
(String authHeader) static final String
retrieveUsername
(String authHeader) static String
unescapeColons
(String userOrPass) if configured to unescape colons, unescape colons
-
Constructor Details
-
Authentication
public Authentication()
-
-
Method Details
-
main
-
colonIndexOf
- Parameters:
credentials
-- Returns:
- the index of the right colon
-
unescapeColons
if configured to unescape colons, unescape colons- Parameters:
userOrPass
-- Returns:
- the unescaped user or pass
-
retrieveUsername
-
retrievePassword
-
authenticate
public boolean authenticate(String authHeader, GrouperPassword.Application application, String requesterIpAddress) -
assignUserPassword
-