public class SecuritySubjectAdapter extends Object implements SecuritySubject
Constructor and Description |
---|
SecuritySubjectAdapter(UUID id,
SecuritySubjectType type,
Object login,
InetSocketAddress address,
SecurityPermissionSet permissions)
Deprecated.
|
SecuritySubjectAdapter(UUID id,
SecuritySubjectType type,
Object login,
InetSocketAddress address,
SecurityPermissionSet permissions,
Certificate[] certificates)
Creates new
SecuritySubjectAdapter . |
Modifier and Type | Method and Description |
---|---|
InetSocketAddress |
address()
Gets subject connection address.
|
Certificate[] |
certificates()
Gets subject client certificates, or
null if SSL were not used or client certificate checking not enabled. |
UUID |
id()
Gets subject ID.
|
Object |
login()
Login provided via subject security credentials.
|
SecurityPermissionSet |
permissions()
Authorized permission set for the subject.
|
void |
skipCertificates()
This field using for old versions compatibility.
|
String |
toString() |
SecuritySubjectType |
type()
Gets subject type for node.
|
public SecuritySubjectAdapter(UUID id, SecuritySubjectType type, Object login, InetSocketAddress address, SecurityPermissionSet permissions)
public SecuritySubjectAdapter(UUID id, SecuritySubjectType type, Object login, InetSocketAddress address, SecurityPermissionSet permissions, Certificate[] certificates)
SecuritySubjectAdapter
.id
- Subject ID.type
- Subject type.login
- Login.address
- Address.permissions
- Permissions assigned to a subject.public UUID id()
id
in interface SecuritySubject
public SecuritySubjectType type()
type
in interface SecuritySubject
public Object login()
login
in interface SecuritySubject
public InetSocketAddress address()
InetSocketAddress
representing connection IP and port.address
in interface SecuritySubject
public SecurityPermissionSet permissions()
permissions
in interface SecuritySubject
public Certificate[] certificates()
null
if SSL were not used or client certificate checking not enabled.certificates
in interface SecuritySubject
public void skipCertificates()
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024