Interface SecuritySubject
- 
- All Superinterfaces:
- Serializable
 
 public interface SecuritySubject extends Serializable Security subject representing authenticated node with a set of permissions.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description InetSocketAddressaddress()Gets subject connection address.default Certificate[]certificates()Gets subject client certificates, ornullif SSL were not used or client certificate checking not enabled.UUIDid()Gets subject ID.Objectlogin()Login provided via subject security credentials.default PermissionCollectionsandboxPermissions()Deprecated.SecuritySubjectmust contain only immutable set of information that represents a security principal.SecuritySubjectTypetype()Gets subject type for node.
 
- 
- 
- 
Method Detail- 
idUUID id() Gets subject ID.- Returns:
- Subject ID.
 
 - 
typeSecuritySubjectType type() Gets subject type for node.- Returns:
- Subject type.
 
 - 
loginObject login() Login provided via subject security credentials.- Returns:
- Login object.
 
 - 
addressInetSocketAddress address() Gets subject connection address. UsuallyInetSocketAddressrepresenting connection IP and port.- Returns:
- Subject connection address.
 
 - 
certificatesdefault Certificate[] certificates() Gets subject client certificates, ornullif SSL were not used or client certificate checking not enabled.- Returns:
- Subject client certificates.
 
 - 
sandboxPermissions@Deprecated default PermissionCollection sandboxPermissions() Deprecated.SecuritySubjectmust contain only immutable set of information that represents a security principal. Security permissions are part of authorization process and have nothing to do withSecuritySubject. This method will be removed in the future releases.- Returns:
- Permissions for SecurityManager checks.
 
 
- 
 
-