Package net.shibboleth.sp.agent.resolver
Class AbstractExternalAgentResolver.AgentTemplate
java.lang.Object
net.shibboleth.sp.agent.resolver.AbstractExternalAgentResolver.AgentTemplate
- Enclosing class:
- AbstractExternalAgentResolver
Stub record representing a "partial"
Agent definition that the loader
base class will "wrap" with the settings configured on the loader.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAgentTemplate(String id, String iss, String auth, Set<String> ranges, Collection<String> unames) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the allowed address ranges.Get the authenticating authority to use, if set.getId()Get the agent ID.Get the issuer, if set.Get the alternative usernames.
-
Field Details
-
agentID
Agent ID. -
issuer
Issuer. -
authority
Authority. -
addressRanges
Address ranges. -
usernames
Usernames.
-
-
Constructor Details
-
AgentTemplate
public AgentTemplate(@Nonnull @NotEmpty String id, @Nullable @NotEmpty String iss, @Nullable @NotEmpty String auth, @Nullable Set<String> ranges, @Nullable Collection<String> unames) Constructor.- Parameters:
id- agent IDiss- issuerauth- authorityranges- address rangesunames- usernames
-
-
Method Details
-
getId
Get the agent ID.- Returns:
- agent ID
-
getIssuer
Get the issuer, if set.- Returns:
- issuer or null
-
getAuthority
Get the authenticating authority to use, if set.- Returns:
- authority or null
-
getAddressRanges
Get the allowed address ranges.- Returns:
- allowed address ranges
-
getUsernames
Get the alternative usernames.- Returns:
- usernames
-