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
-
-
Field Summary
Fields Modifier and Type Field Description private List<TrustedAuthority>
trustedAuthorities
-
Constructor Summary
Constructors Constructor Description TrustedAuthoritiesCallback()
Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TrustedAuthority>
getTrustedAuthorities()
Get the retrieved trusted authorities.boolean
needsInformation()
Determine if this callback is requesting information.void
setTrustedAuthorities(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, wait
-
Methods inherited from interface org.wildfly.security.auth.callback.ExtendedCallback
isOptional
-
-
-
-
Field Detail
-
trustedAuthorities
private List<TrustedAuthority> trustedAuthorities
-
-
Method Detail
-
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 benull
)
-
needsInformation
public boolean needsInformation()
Description copied from interface:ExtendedCallback
Determine if this callback is requesting information.- Specified by:
needsInformation
in interfaceExtendedCallback
- Returns:
true
if the callback is requesting information,false
if it is only providing information
-
-