Interface ClassAliasResolver

All Known Implementing Classes:
AssertionClassAliasResolver, CoreClassAliasResolver, OAuth2ClassAliasResolver, OpenAMClassAliasResolver, PingClassAliasResolver, SamlClassAliasResolver, UmaClassAliasResolver

public interface ClassAliasResolver
This interface has to be implemented by each Identity Gateway module that wants to register new class aliases. These aliases are resolved at configuration time (when the objects declared in the heap will be created). Multiple aliases can map to a single type.
  • Method Summary

    Modifier and Type
    Method
    Description
    resolve(String alias)
    Returns the Class mapped to the given alias or null if the alias is unknown.
    default Set<Class<? extends Heaplet>>
    Returns the set of heaplet classes supported by this alias resolver.
  • Method Details

    • resolve

      Class<?> resolve(String alias)
      Returns the Class mapped to the given alias or null if the alias is unknown.
      Parameters:
      alias - short name
      Returns:
      the Class mapped to the given alias or null if the alias is unknown.
    • supportedTypes

      default Set<Class<? extends Heaplet>> supportedTypes()
      Returns the set of heaplet classes supported by this alias resolver.
      Returns:
      a (possibly empty, never null) set of heaplet classes
      See Also:
      • TypeInfo
      • NoTypeInfo