@Component @Singleton public class DefaultSecurityReferenceFactory extends Object implements SecurityReferenceFactory
SecurityReference factory.| Constructor and Description |
|---|
DefaultSecurityReferenceFactory() |
| Modifier and Type | Method and Description |
|---|---|
SecurityReference |
newEntityReference(EntityReference reference)
Returns a
SecurityReference for the provided entity. |
GroupSecurityReference |
newGroupReference(DocumentReference reference)
Returns a
GroupSecurityReference for the provided group document reference. |
UserSecurityReference |
newUserReference(DocumentReference reference)
Returns a
UserSecurityReference for the provided user document reference. |
public SecurityReference newEntityReference(EntityReference reference)
SecurityReferenceFactorySecurityReference for the provided entity.newEntityReference in interface SecurityReferenceFactoryreference - the entity reference to cloneSecurityReference for the provided entity.public UserSecurityReference newUserReference(DocumentReference reference)
SecurityReferenceFactoryUserSecurityReference for the provided user document reference.newUserReference in interface SecurityReferenceFactoryreference - the entity reference to cloneUserSecurityReference for the provided user document reference.public GroupSecurityReference newGroupReference(DocumentReference reference)
SecurityReferenceFactoryGroupSecurityReference for the provided group document reference.newGroupReference in interface SecurityReferenceFactoryreference - the entity reference to cloneGroupSecurityReference for the provided group document reference.Copyright © 2004–2019 XWiki. All rights reserved.