Package net.sf.michaelo.tomcat.pac
Class KerbValidationInfo
java.lang.Object
net.sf.michaelo.tomcat.pac.KerbValidationInfo
A class representing the
KERB_VALIDATION_INFO
structure from MS-PAC. This implementation only parses the members which are required for the purpose of this
component, everything else is skipped.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionKerbValidationInfo(byte[] infoBytes) Parses a Kerberos validation info object from a byte array. -
Method Summary
Modifier and TypeMethodDescriptionlonglonglonglong
-
Field Details
-
EXTRA_SIDS_USER_FLAG
public static final long EXTRA_SIDS_USER_FLAG- See Also:
-
RESOURCE_GROUP_IDS_USER_FLAG
public static final long RESOURCE_GROUP_IDS_USER_FLAG- See Also:
-
logger
-
-
Constructor Details
-
KerbValidationInfo
public KerbValidationInfo(byte[] infoBytes) Parses a Kerberos validation info object from a byte array.- Parameters:
infoBytes- Kerberos validation info structure encoded as bytes- Throws:
NullPointerException- ifinfoBytesis nullIllegalArgumentException- ifinfoBytesis emptyIllegalArgumentException- ifGroupCountis not equal to the actually marshaled group countIllegalArgumentException- ifSidCountis not zero, but flag D is not set inUserFlagsIllegalArgumentException- ifExtraSidsis notnull, but flag D is not set inUserFlagsIllegalArgumentException- ifSidCountis not equal to the actually marshaled SID countIllegalArgumentException- ifResourceGroupDomainSidis notnull, but flag H is not set inUserFlagsIllegalArgumentException- ifResourceGroupCountis not zero, but flag H is not set inUserFlagsIllegalArgumentException- ifResourceGroupIdsis notnull, but flag H is not set inUserFlagsIllegalArgumentException- ifResourceGroupCountis not equal to the actually marshaled resource group countIllegalArgumentException- if anyRPC_UNICODE_STRINGis incorrectly NDR-encoded
-
-
Method Details
-
getEffectiveName
-
getFullName
-
getLogonScript
-
getProfilePath
-
getHomeDirectory
-
getHomeDirectoryDrive
-
getUserId
public long getUserId() -
getPrimaryGroupId
public long getPrimaryGroupId() -
getGroupIds
-
getUserFlags
public long getUserFlags() -
getLogonServer
-
getLogonDomainName
-
getLogonDomainId
-
getUserAccountControl
public long getUserAccountControl() -
getExtraSids
-
getResourceGroupDomainSid
-
getResourceGroupIds
-