Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RootAuth ¶
type RootAuth struct { Enabled bool //starter:inject("${security.auth-as-root.enabled}") Random random.Service //starter:inject("#") // contains filtered or unexported fields }
RootAuth 提供 username(root)+password(随机生成) 的验证机制
func (*RootAuth) Authenticate ¶
Authenticate ...
func (*RootAuth) ListRegistrations ¶
func (inst *RootAuth) ListRegistrations() []*auth.Registration
ListRegistrations ...
type UsersAuth ¶
type UsersAuth struct { Enabled bool //starter:inject("${security.auth-as-root.enabled}") Random random.Service //starter:inject("#") UserDao rbacdb.UserDAO //starter:inject("#") UserCvt rbacdb.UserConvertor //starter:inject("#") // contains filtered or unexported fields }
UsersAuth 提供 username+password 的验证机制
func (*UsersAuth) Authenticate ¶
Authenticate ...
func (*UsersAuth) ListRegistrations ¶
func (inst *UsersAuth) ListRegistrations() []*auth.Registration
ListRegistrations ...
Click to show internal directories.
Click to hide internal directories.