Class Pac4jSubject

  • All Implemented Interfaces:
    be.objectify.deadbolt.java.models.Subject

    public class Pac4jSubject
    extends Object
    implements be.objectify.deadbolt.java.models.Subject
    The deadbolt subject built from the pac4j user profile.
    Since:
    2.6.0
    Author:
    Jerome Leleu
    • Constructor Detail

      • Pac4jSubject

        public Pac4jSubject​(org.pac4j.core.profile.UserProfile profile)
    • Method Detail

      • getRoles

        public List<? extends be.objectify.deadbolt.java.models.Role> getRoles()
        Specified by:
        getRoles in interface be.objectify.deadbolt.java.models.Subject
      • getPermissions

        public List<? extends be.objectify.deadbolt.java.models.Permission> getPermissions()
        Specified by:
        getPermissions in interface be.objectify.deadbolt.java.models.Subject
      • getIdentifier

        public String getIdentifier()
        Specified by:
        getIdentifier in interface be.objectify.deadbolt.java.models.Subject