Class AuthPac4jProfileService

java.lang.Object
com.axelor.auth.pac4j.AuthPac4jProfileService

@Singleton public class AuthPac4jProfileService extends Object
  • Field Details

  • Constructor Details

    • AuthPac4jProfileService

      public AuthPac4jProfileService()
  • Method Details

    • 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()
    • downloadUrl

      protected byte[] downloadUrl(URL url) throws IOException
      Throws:
      IOException
    • downloadUrl

      protected byte[] downloadUrl(URL url, Map<String,String> requestProperties) throws IOException
      Throws:
      IOException