Scheme Changes:
Replaced Access_Controls with APEX_AUTHORISATION Created POSTCODES, ERROR_LOGS and SYSTEM_CONFIGURATION. Added missing columns to ENQUIRIES, REGULATORS, etc. Added views V_PROFILE_RT_CODE_FOR_ENRO.vw, V_PARTY_RELATIONSHIPS.vw, V_LATEST_RT_CODE_FOR_ENRO.vw. Modules: Added cout_err.pck, cout_system_configuration.pck. Data: Added Data/Demo files Added Data/Seed files for postcodes, regions and DatabaseItemToFunctionalSpecificationReference.csv Documentation: Added Documentation/pldoc for plsqldoc-generated files. Added Documentation/SupportingDocumentation/Regions to hold region definition information. git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2890 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
@@ -16,12 +16,23 @@ CREATE OR REPLACE PACKAGE mip_security AS
|
||||
,p_session_id IN VARCHAR2
|
||||
,p_flow_page IN VARCHAR2);
|
||||
|
||||
/** Generate a hash from the given username and password
|
||||
|
||||
The system does not record users passwords 'in the plain', instead we
|
||||
recordThe resultant hash is recorded as the username 'password hash'
|
||||
*/
|
||||
FUNCTION get_hash(p_username IN VARCHAR2
|
||||
,p_password IN VARCHAR2) RETURN VARCHAR2;
|
||||
|
||||
/**
|
||||
%obs private function
|
||||
*/
|
||||
PROCEDURE valid_user2(p_username IN VARCHAR2
|
||||
,p_password IN VARCHAR2);
|
||||
|
||||
/**
|
||||
%obs replaced by authenticate_user
|
||||
*/
|
||||
FUNCTION valid_user(p_username IN VARCHAR2
|
||||
,p_password IN VARCHAR2) RETURN BOOLEAN;
|
||||
|
||||
@@ -209,6 +220,7 @@ CREATE OR REPLACE PACKAGE BODY mip_security AS
|
||||
FUNCTION valid_user(p_username IN VARCHAR2
|
||||
,p_password IN VARCHAR2) RETURN BOOLEAN AS
|
||||
BEGIN
|
||||
htp.bold('YOU SENT ME :' || p_username || ':' || p_password);
|
||||
valid_user2(p_username
|
||||
,p_password);
|
||||
RETURN TRUE;
|
||||
|
||||
Reference in New Issue
Block a user