@ApplicationScoped public class DefaultSecurityConfiguration extends Object implements SecurityConfiguration
| Constructor and Description |
|---|
DefaultSecurityConfiguration()
The constructor, retrieve the configuration and build the basic
configuration for the
WebSecurityManager and the
FilterChainResolver |
| Modifier and Type | Method and Description |
|---|---|
org.apache.shiro.web.mgt.DefaultWebSecurityManager |
configureSecurityManager()
This method is used to configure the
DefaultWebSecurityManager to
manage all the other parts of the framework, i.e. the authentication
process throug the realms |
org.apache.shiro.web.filter.mgt.FilterChainResolver |
configurteFilterChainResolver()
This method is used to configure the
FilterChainResolver for
security of the http paths |
LdapUserProvider |
produceLdapUserProvider()
Produce the
LdapUserProvider for external classes outside of the
library. |
public DefaultSecurityConfiguration()
WebSecurityManager and the
FilterChainResolverpublic org.apache.shiro.web.filter.mgt.FilterChainResolver configurteFilterChainResolver()
FilterChainResolver for
security of the http pathsconfigurteFilterChainResolver in interface SecurityConfigurationpublic org.apache.shiro.web.mgt.DefaultWebSecurityManager configureSecurityManager()
DefaultWebSecurityManager to
manage all the other parts of the framework, i.e. the authentication
process throug the realmsconfigureSecurityManager in interface SecurityConfiguration@Produces @ApplicationScoped public LdapUserProvider produceLdapUserProvider()
LdapUserProvider for external classes outside of the
library.
This is needed in case of you need to find the data from a LDAP/AD account
to create a simple bind account on the databaseCopyright © 2018 Arthur Gregorio. All rights reserved.