mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-02 08:42:35 +00:00
Corrected section layout in DB schema appendix of ref manual.
This commit is contained in:
parent
12fc73f046
commit
ca91b9abc5
@ -131,11 +131,12 @@ create table acl_entry (
|
|||||||
references acl_object_identity(id),
|
references acl_object_identity(id),
|
||||||
constraint foreign_fk_5 foreign key(sid) references acl_sid(id) );
|
constraint foreign_fk_5 foreign key(sid) references acl_sid(id) );
|
||||||
|
|
||||||
</programlisting></para>
|
</programlisting></para>
|
||||||
<section>
|
</section>
|
||||||
<title>PostgreSQL</title>
|
<section>
|
||||||
<para>
|
<title>PostgreSQL</title>
|
||||||
<programlisting>create table acl_sid(
|
<para>
|
||||||
|
<programlisting>create table acl_sid(
|
||||||
id bigserial not null primary key,
|
id bigserial not null primary key,
|
||||||
principal boolean not null,
|
principal boolean not null,
|
||||||
sid varchar(100) not null,
|
sid varchar(100) not null,
|
||||||
@ -172,20 +173,19 @@ create table acl_entry(
|
|||||||
references acl_object_identity(id),
|
references acl_object_identity(id),
|
||||||
constraint foreign_fk_5 foreign key(sid) references acl_sid(id));
|
constraint foreign_fk_5 foreign key(sid) references acl_sid(id));
|
||||||
</programlisting> </para>
|
</programlisting> </para>
|
||||||
<para>You will have to set the <literal>classIdentityQuery</literal> and
|
<para>You will have to set the <literal>classIdentityQuery</literal> and
|
||||||
<literal>sidIdentityQuery</literal> properties of
|
<literal>sidIdentityQuery</literal> properties of
|
||||||
<classname>JdbcMutableAclService</classname> to the following values,
|
<classname>JdbcMutableAclService</classname> to the following values,
|
||||||
respectively: <itemizedlist>
|
respectively: <itemizedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><literal>select currval(pg_get_serial_sequence('acl_class',
|
<para><literal>select currval(pg_get_serial_sequence('acl_class',
|
||||||
'id'))</literal></para>
|
'id'))</literal></para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><literal>select currval(pg_get_serial_sequence('acl_sid',
|
<para><literal>select currval(pg_get_serial_sequence('acl_sid',
|
||||||
'id'))</literal></para>
|
'id'))</literal></para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist></para>
|
</itemizedlist></para>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
|
||||||
</appendix>
|
</appendix>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user