Package net.sf.michaelo.tomcat.realm
Class Sid
java.lang.Object
net.sf.michaelo.tomcat.realm.Sid
A class representing a
SID
(security identifier) from MS-DTYP.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NULL_SID
-
ANONYMOUS_SID
-
-
Constructor Details
-
Sid
public Sid(byte[] sidBytes) Parses a SID object from a byte array.- Parameters:
sidBytes- SID structure encoded as bytes- Throws:
NullPointerException- ifsidBytesis nullIllegalArgumentException- ifsidBytescontains less than 12 bytesIllegalArgumentException- if SID's revision is not 1IllegalArgumentException- if SID's subauthority count is more than 15
-
-
Method Details