Class MachinePrincipal
java.lang.Object
com.foreach.across.modules.hibernate.business.SettableIdBasedEntity<T>
com.foreach.across.modules.user.business.BasicSecurityPrincipal<T>
com.foreach.across.modules.user.business.GroupedPrincipal<MachinePrincipal>
com.foreach.across.modules.user.business.MachinePrincipal
- All Implemented Interfaces:
com.foreach.across.modules.hibernate.business.Auditable<String>
,com.foreach.across.modules.hibernate.business.EntityWithDto<MachinePrincipal>
,com.foreach.across.modules.hibernate.business.IdBasedEntity
,com.foreach.across.modules.spring.security.infrastructure.business.SecurityPrincipal
,com.foreach.across.modules.spring.security.infrastructure.business.SecurityPrincipalHierarchy
,IdBasedSecurityPrincipal
,Comparable<MachinePrincipal>
,org.springframework.data.domain.Persistable<Long>
@NotThreadSafe
@Entity
public class MachinePrincipal
extends GroupedPrincipal<MachinePrincipal>
implements Comparable<MachinePrincipal>
Represents a SecurityPrincipal identity that is like a user account, but not a physical person.
- Author:
- Arne Vandamme
-
Constructor Summary
-
Method Summary
Methods inherited from class com.foreach.across.modules.user.business.GroupedPrincipal
addGroup, buildAuthoritySet, getGroups, getParentPrincipals, hasPermission, isMemberOf, removeGroup, setGroups
Methods inherited from class com.foreach.across.modules.user.business.BasicSecurityPrincipal
addRole, getAuthorities, getCreatedBy, getCreatedDate, getId, getLastModifiedBy, getLastModifiedDate, getPrincipalName, getRoles, getUserDirectory, hasPermission, hasRole, hasRole, removeRole, setCreatedBy, setCreatedDate, setId, setLastModifiedBy, setLastModifiedDate, setPrincipalName, setRoles, setUserDirectory, toString, uniquePrincipalName
Methods inherited from class com.foreach.across.modules.hibernate.business.SettableIdBasedEntity
equals, getNewEntityId, hashCode, isNew, setNewEntityId, toDto
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.foreach.across.modules.spring.security.infrastructure.business.SecurityPrincipal
getSecurityPrincipalId
-
Constructor Details
-
MachinePrincipal
public MachinePrincipal()
-
-
Method Details
-
getName
-
setName
-
compareTo
- Specified by:
compareTo
in interfaceComparable<MachinePrincipal>
-