Class TrustedAuthoritiesCallback

java.lang.Object
org.wildfly.security.auth.callback.TrustedAuthoritiesCallback
All Implemented Interfaces:
Callback, ExtendedCallback

public final class TrustedAuthoritiesCallback extends Object implements ExtendedCallback
An optional callback used to retrieve information about trusted certificate authorities for authenticating peers.
Author:
Farah Juma
  • Constructor Details

    • TrustedAuthoritiesCallback

      public TrustedAuthoritiesCallback()
      Construct a new instance.
  • Method Details

    • getTrustedAuthorities

      public List<TrustedAuthority> getTrustedAuthorities()
      Get the retrieved trusted authorities.
      Returns:
      the retrieved trusted authorities (may be null)
    • setTrustedAuthorities

      public void setTrustedAuthorities(List<TrustedAuthority> trustedAuthorities)
      Set the retrieved trusted authorities.
      Parameters:
      trustedAuthorities - the retrieved trusted authorities (may be null)
    • needsInformation

      public boolean needsInformation()
      Description copied from interface: ExtendedCallback
      Determine if this callback is requesting information.
      Specified by:
      needsInformation in interface ExtendedCallback
      Returns:
      true if the callback is requesting information, false if it is only providing information