Package org.minijax.security
Class AuthUtils
- java.lang.Object
-
- org.minijax.security.AuthUtils
-
public class AuthUtils extends Object
The AuthUtils class provides helper methods for parsing the HTTP Authorization header.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Stringcreate(String username, String password)static StringgetPassword(String auth)Returns the password portion of a Basic Authentication header.static StringgetUsername(String auth)Returns the username portion of a Basic Authentication header.
-