Class AuthPac4jProfileService


  • @Singleton
    public class AuthPac4jProfileService
    extends Object
    • Constructor Detail

      • AuthPac4jProfileService

        public AuthPac4jProfileService()
    • Method Detail

      • getUserIdentifier

        public String getUserIdentifier​(org.pac4j.core.profile.CommonProfile profile)
      • getName

        public String getName​(org.pac4j.core.profile.CommonProfile profile)
      • getEmail

        @Nullable
        public String getEmail​(org.pac4j.core.profile.CommonProfile profile)
      • getLanguage

        @Nullable
        public String getLanguage​(org.pac4j.core.profile.CommonProfile profile)
      • getLanguage

        @Nullable
        public String getLanguage​(org.pac4j.core.profile.CommonProfile profile,
                                  String defaultLanguage)
      • getImage

        @Nullable
        public byte[] getImage​(org.pac4j.core.profile.CommonProfile profile)
                        throws IOException
        Throws:
        IOException
      • getGroup

        @Nullable
        public Group getGroup​(org.pac4j.core.profile.CommonProfile profile)
      • getGroup

        @Nullable
        public Group getGroup​(org.pac4j.core.profile.CommonProfile profile,
                              String defaultGroupCode)
      • getGroup

        @Nullable
        protected Group getGroup​(String groupCode)
      • getRoles

        public Set<Role> getRoles​(org.pac4j.core.profile.CommonProfile profile)
      • getPermissions

        public Set<Permission> getPermissions​(org.pac4j.core.profile.CommonProfile profile)
      • getLanguages

        protected Set<String> getLanguages()