public class UserAgentContext
extends org.opensaml.messaging.context.BaseContext
AuthenticationContext, containing data about the user agent.| Modifier and Type | Field and Description |
|---|---|
private InetAddress |
address
Address of the user-agent host.
|
private String |
identifier
An identification string (such as a User-Agent header).
|
| Constructor and Description |
|---|
UserAgentContext() |
| Modifier and Type | Method and Description |
|---|---|
InetAddress |
getAddress()
Get the address of the user-agent host.
|
String |
getIdentifier()
Get the user agent identifier.
|
UserAgentContext |
setAddress(InetAddress userAgentAddress)
Set the address of the user-agent host.
|
UserAgentContext |
setIdentifier(String id)
Set the user agent identifier.
|
addSubcontext, addSubcontext, clearSubcontexts, containsSubcontext, createSubcontext, getParent, getSubcontext, getSubcontext, getSubcontext, getSubcontext, isAutoCreateSubcontexts, iterator, removeSubcontext, removeSubcontext, setAutoCreateSubcontexts, setParent@Nullable private InetAddress address
@Nullable public InetAddress getAddress()
@Nullable public String getIdentifier()
public UserAgentContext setAddress(@Nullable InetAddress userAgentAddress)
userAgentAddress - address of the user-agent hostpublic UserAgentContext setIdentifier(@Nullable String id)
id - identifier for the user agentCopyright © 1999–2015. All rights reserved.