@Component(value="squashtest.core.security.ObjectIdentityGeneratorStrategy") public class DatabaseBackedObjectIdentityGeneratorStrategy extends Object implements org.springframework.security.acls.model.ObjectIdentityGenerator
ObjectIdentityGenerator fetches the entity using hibernate and
delegates the creation of ObjectIdentity to a
ObjectIdentityRetrievalStrategy.| Constructor and Description |
|---|
DatabaseBackedObjectIdentityGeneratorStrategy() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.acls.model.ObjectIdentity |
createObjectIdentity(Serializable id,
String type)
Creates an ObjectIdentity by : 1. fetching the entity using the given id
and type 2. delegating to
objectRetrivalStrategy
When the entity is unknown, this return an object identity which matches
nothing |
public DatabaseBackedObjectIdentityGeneratorStrategy()
public org.springframework.security.acls.model.ObjectIdentity createObjectIdentity(Serializable id, String type)
objectRetrivalStrategy
When the entity is unknown, this return an object identity which matches
nothingcreateObjectIdentity in interface org.springframework.security.acls.model.ObjectIdentityGeneratorCopyright © 2010–2017 Henix, henix.fr. All rights reserved.