Package net.sf.michaelo.tomcat.pac
Class UpnDnsInfo
- java.lang.Object
-
- net.sf.michaelo.tomcat.pac.UpnDnsInfo
-
public class UpnDnsInfo extends Object
A class representing theUPN_DNS_INFO
structure from MS-PAC.
-
-
Field Summary
Fields Modifier and Type Field Description static long
SAM_NAME_AND_SID_FLAG
static long
UPN_CONSTRUCTED_FLAG
-
Constructor Summary
Constructors Constructor Description UpnDnsInfo(byte[] infoBytes)
Parses a UPN DNS info object from a byte array.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDnsDomainName()
long
getFlags()
String
getSamName()
Sid
getSid()
String
getUpn()
-
-
-
Field Detail
-
UPN_CONSTRUCTED_FLAG
public static final long UPN_CONSTRUCTED_FLAG
- See Also:
- Constant Field Values
-
SAM_NAME_AND_SID_FLAG
public static final long SAM_NAME_AND_SID_FLAG
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UpnDnsInfo
public UpnDnsInfo(byte[] infoBytes)
Parses a UPN DNS info object from a byte array.- Parameters:
infoBytes
- UPN DNS info structure encoded as bytes- Throws:
NullPointerException
- ifinfoBytes
is nullIllegalArgumentException
- ifinfoBytes
is empty
-
-