Commit 2396c515 authored by panhong18943's avatar panhong18943

新增登录密码过期

parent 446f72be
<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
<bm:operations>
<bm:operation name="execute">
<bm:parameters>
<bm:parameter name="password_session_id" dataType="java.lang.String" input="false" output="true" outputPath="/parameter/@password_session_id"/>
</bm:parameters>
<bm:update-sql><![CDATA[
begin
sys_user_pkg.check_password_by_owner(
p_user_name =>${@user_name},
p_old_password => ${@current_password},
p_new_password => ${@update_password},
p_ip_address => ${/request/@address},
p_password_session_id =>${@password_session_id}
);
end;
]]></bm:update-sql>
</bm:operation>
<bm:operation name="update">
<bm:update-sql><![CDATA[
begin
sys_user_pkg.change_password_by_owner(
p_user_name =>${@user_name},
p_old_password => ${@current_password},
p_new_password => ${@update_password},
p_ip_address => ${/request/@address}
);
end;
]]></bm:update-sql>
</bm:operation>
</bm:operations>
</bm:model>
<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
<bm:operations>
<bm:operation name="execute">
<bm:parameters>
<bm:parameter name="user_name" dataType="java.lang.String" input="true" output="false"/>
<bm:parameter name="encryted_session_id" dataType="java.lang.String" input="false" output="true" outputPath="/parameter/@encryted_session_id"/>
<bm:parameter name="message" dataType="java.lang.String" input="false" output="true" outputPath="/parameter/@message"/>
</bm:parameters>
<bm:update-sql><![CDATA[
begin
sys_login_pkg.expired_password(
p_user_name =>${@user_name},
p_encryted_session_id =>${@encryted_session_id},
p_error_message =>${@message}
);
end;
]]></bm:update-sql>
</bm:operation>
</bm:operations>
</bm:model>
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment