org.openwms.core.service.spring
Class SecurityServiceImpl
java.lang.Object
org.openwms.core.service.spring.SecurityServiceImpl
- All Implemented Interfaces:
- SecurityService
@Transactional
@Service(value="securityService")
public class SecurityServiceImpl
- extends Object
- implements SecurityService
A SecurityServiceImpl.
- Since:
- 0.1
- Version:
- $Revision: 1550 $
- Author:
- Heiko Scherrer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPONENT_NAME
public static final String COMPONENT_NAME
- Springs component name.
- See Also:
- Constant Field Values
SecurityServiceImpl
public SecurityServiceImpl()
login
@Transactional(readOnly=true)
public void login()
- Force a login. Call this method to access the security filter chain. The
implementation does not need to execute anything.
Marked as
readOnly
transactional method. Only a trace
message is written. This method is solely responsible to activate the
security filter chain.
- Specified by:
login
in interface SecurityService
mergeGrants
@FireAfterTransaction(events=UserChangedEvent.class)
public List<Grant> mergeGrants(String moduleName,
List<Grant> grants)
- Merge a list of persisted, detached or transient
Grant
s of a
particular Module
.
- Specified by:
mergeGrants
in interface SecurityService
- Parameters:
moduleName
- The moduleNamegrants
- The list of Grant
s to merge
- Returns:
- All existing
Grant
s - See Also:
SecurityService.mergeGrants(java.lang.String,
java.util.List)
Copyright © 2005-2011 openwms.org. All Rights Reserved.