Versions in this module Expand all Collapse all v0 v0.1.0 Oct 10, 2026 Changes in this version + type Authentication interface + GetAuthorities func() []GrantedAuthority + GetCredentials func() any + GetPrincipal func() any + IsAuthenticated func() bool + type AuthenticationException interface + AuthenticationRequest func() Authentication + type AuthenticationManager interface + Authenticate func(Authentication) (Authentication, AuthenticationException) + type AuthenticationProvider interface + Authenticate func(Authentication) (Authentication, AuthenticationException) + Supports func(Authentication) bool + type Authority string + func (this Authority) Authority() string + type CredentialsContainer interface + EraseCredentials func() + type DefaultSecurityFilterAction = Enum[DefaultSecurityFilterActionEnum] + type DefaultSecurityFilterActionEnum struct + ERROR DefaultSecurityFilterAction + NEXT DefaultSecurityFilterAction + REDIRECT DefaultSecurityFilterAction + RENDER DefaultSecurityFilterAction + type DefaultSecurityFilterChainException struct + func (this *DefaultSecurityFilterChainException) Action() string + func (this *DefaultSecurityFilterChainException) Data() map[string]any + func (this *DefaultSecurityFilterChainException) Handle(handler SecurityHandler) error + func (this *DefaultSecurityFilterChainException) ReportedError() Error + func (this *DefaultSecurityFilterChainException) Status() int + func (this *DefaultSecurityFilterChainException) To() string + func (this *DefaultSecurityFilterChainException) View() string + func (this DefaultSecurityFilterChainException) Next() *DefaultSecurityFilterChainException + func (this DefaultSecurityFilterChainException) RedirectTo(url string) *DefaultSecurityFilterChainException + func (this DefaultSecurityFilterChainException) RedirectToWithCode(url string, code int) *DefaultSecurityFilterChainException + func (this DefaultSecurityFilterChainException) RenderView(view string, data map[string]any) *DefaultSecurityFilterChainException + func (this DefaultSecurityFilterChainException) ReportError(err Error, code int) *DefaultSecurityFilterChainException + type GrantedAuthority interface + Authority func() string + type Manager interface + type PasswordEncoder interface + Encode func(password []byte) ([]byte, error) + Matches func(password, encoded []byte) bool + type PostAuthorisationFilter interface + type PreAuthenticationFilter interface + type Principal interface + GetName func() string + type RememberMeService interface + AutoLogin func(handler SecurityHandler) (Authentication, Error) + LoginFail func(handler SecurityHandler) + LoginSuccess func(handler SecurityHandler, successfulAuthentication Authentication) + Logout func(handler SecurityHandler) + type SecurityAppHandler interface + EnableCsrf func(skip func(handler SecurityHandler) bool) + EnableSession func(skip func(handler SecurityHandler) bool) + HasSession func(handler SecurityHandler) bool + PostAuthorizationFilter func(handler SecurityHandler) + type SecurityContext interface + GetAuthentication func() Authentication + GetHTTPPolicyDebugValue func() string + SetAuthentication func(authentication Authentication) + SetHTTPPolicyDebugValue func(debug string) + type SecurityContextHolder interface + ClearContext func() + GetContext func() SecurityContext + SetContext func(context SecurityContext) + type SecurityEndpointRegistration interface + RegisterSecurityEndpoint func(router SecurityRouter) + type SecurityEventFilter interface + type SecurityFilter interface + Authenticate func(handler SecurityHandler) SecurityFilterChainException + AuthenticationRequired func(handler SecurityHandler) SecurityFilterChainException + type SecurityFilterChain interface + Initialize func(serverName string, app SecurityAppHandler) + type SecurityFilterChainException interface + Action func() string + Handle func(handler SecurityHandler) error + type SecurityHandler interface + BindBody func(obj any) error + Cookie func(name string) (*http.Cookie, error) + Error func(code int, message string) error + FormValue func(name string) string + Header func(name string) string + Method func() string + Next func() error + Path func() string + Redirect func(to string, code int) error + RenderView func(view string, data map[string]any) error + SessionRefresh func() + SessionReset func() + SessionValue func(key string) any + SetCookie func(cookie *http.Cookie) + SetHeader func(name, value string) + SetSessionValue func(key string, obj any) + URL func() *url.URL + Write func(p []byte) (n int, err error) + type SecurityRouter interface + Get func(path string, handler func(SecurityHandler) error) + Group func(path string) SecurityRouter + Post func(path string, handler func(SecurityHandler) error) + Use func(handler func(SecurityHandler) error) + type SessionAwareFilter interface + type UserDetails interface + GetAuthorities func() []GrantedAuthority + GetPassword func() string + GetUsername func() string + IsCredentialExpired func() bool + IsDisabled func() bool + IsExpired func() bool + IsLocked func() bool + type UserDetailsService interface + LoadUserByUsername func(username string) UserDetails