Class TrustedAuthoritiesCallback
java.lang.Object
org.wildfly.security.auth.callback.TrustedAuthoritiesCallback
- All Implemented Interfaces:
Callback,ExtendedCallback
An optional callback used to retrieve information about trusted certificate authorities
for authenticating peers.
- Author:
- Farah Juma
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the retrieved trusted authorities.booleanDetermine if this callback is requesting information.voidsetTrustedAuthorities(List<TrustedAuthority> trustedAuthorities) Set the retrieved trusted authorities.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.security.auth.callback.ExtendedCallback
isOptional
-
Constructor Details
-
TrustedAuthoritiesCallback
public TrustedAuthoritiesCallback()Construct a new instance.
-
-
Method Details
-
getTrustedAuthorities
Get the retrieved trusted authorities.- Returns:
- the retrieved trusted authorities (may be
null)
-
setTrustedAuthorities
Set the retrieved trusted authorities.- Parameters:
trustedAuthorities- the retrieved trusted authorities (may benull)
-
needsInformation
public boolean needsInformation()Description copied from interface:ExtendedCallbackDetermine if this callback is requesting information.- Specified by:
needsInformationin interfaceExtendedCallback- Returns:
trueif the callback is requesting information,falseif it is only providing information
-