Class SyncopeUtils

java.lang.Object
org.apereo.cas.syncope.SyncopeUtils

public final class SyncopeUtils extends Object
This is SyncopeUtils.
Since:
6.5.0
  • Method Details

    • convertFromUserEntity

      public static Map<String,List<Object>> convertFromUserEntity(com.fasterxml.jackson.databind.JsonNode user, Map<String,String> attributeMappings)
      Convert user as a JSON node into a map of details.
      Parameters:
      user - the user
      attributeMappings - the attribute mappings
      Returns:
      the map
    • syncopeUserSearch

      public static List<Map<String,List<Object>>> syncopeUserSearch(org.apereo.cas.configuration.model.support.syncope.BaseSyncopeSearchProperties properties, String user)
      Syncope search.
      Parameters:
      properties - the properties
      user - the user
      Returns:
      the optional
    • convertToUserCreateEntity

      public static Map<String,Object> convertToUserCreateEntity(org.apereo.cas.authentication.principal.Principal principal, String realm)
      Convert to user create entity map.
      Parameters:
      principal - the principal
      realm - the realm
      Returns:
      the map
    • convertToUserCreateEntity

      public static Map<String,Object> convertToUserCreateEntity(Map<String,?> userProperties, org.apereo.cas.authentication.credential.UsernamePasswordCredential credential, String realm)
      Convert to user create entity map.
      Parameters:
      userProperties - the user properties
      credential - the credential
      realm - the realm
      Returns:
      the map
    • convertToUserUpdateEntity

      public static Map<String,Object> convertToUserUpdateEntity(org.apereo.cas.authentication.principal.Principal principal, String realm)
      Convert to user update entity map.
      Parameters:
      realm - the realm
      Returns:
      the map