Package oracle.security.xs
Class XSAuthenticationModule
- java.lang.Object
-
- oracle.security.xs.XSAuthenticationModule
-
public class XSAuthenticationModule extends java.lang.ObjectThis class provides authentication functions to verify the user credentials against the Database.
-
-
Constructor Summary
Constructors Constructor Description XSAuthenticationModule()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanauthenticate(java.lang.String url, java.lang.String user, java.lang.String password)Authenticates the user against the Database.
-
-
-
Method Detail
-
authenticate
public static boolean authenticate(java.lang.String url, java.lang.String user, java.lang.String password) throws java.sql.SQLException, XSExceptionAuthenticates the user against the Database.- Parameters:
url- database urluser- user IDpassword- password- Returns:
- true if success, false if fail
- Throws:
java.sql.SQLException- when a JDBC exception is thrownXSException- a generic error is detected
-
-