@ApplicationScoped public class SecurityServiceImpl extends Object implements SecurityService
| Constructor and Description |
|---|
SecurityServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
configurationChangedEvent(org.apache.marmotta.platform.core.events.ConfigurationChangedEvent event)
React to a change in the security configuration, e.g.
|
boolean |
grantAccess(javax.servlet.http.HttpServletRequest request)
Check whether access is granted for the given request.
|
void |
initialise() |
List<SecurityConstraint> |
listSecurityConstraints()
List all security constraints, ordered by priority.
|
void |
loadSecurityProfile(String profile)
Load a pre-configured security profile from the classpath.
|
void |
ping()
Does nothing, just ensures the security service is properly initialised.
|
@PostConstruct public void initialise()
public void configurationChangedEvent(@Observes
org.apache.marmotta.platform.core.events.ConfigurationChangedEvent event)
event - public boolean grantAccess(javax.servlet.http.HttpServletRequest request)
grantAccess in interface SecurityServicerequest - public void loadSecurityProfile(String profile)
loadSecurityProfile in interface SecurityServiceprofile - public List<SecurityConstraint> listSecurityConstraints()
SecurityServicelistSecurityConstraints in interface SecurityServicepublic void ping()
ping in interface SecurityServiceCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.