java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.security.Token
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intConstant: 0x50 = 80static final intConstant: 0x01 = 1static final intConstant: 0x80 = 128static final intConstant: 0x80 = 128static final intConstant: 0x40 = 64static final intConstant: 0x80 = 128static final intConstant: 0x10 = 16static final intConstant: 0x10 = 16static final intConstant: 0x04 = 4static final intConstant: 0x20 = 32static final intConstant: 0x20 = 32static final intConstant: 0x01 = 1static final intConstant: 0x02 = 2static final intConstant: 0x02 = 2static final intConstant: 0x04 = 4static final intConstant: 0x08 = 8static final intConstant: 0x40 = 64static final intConstant: 0x08 = 8static final intConstant: 0x01 = 1static final intConstant: 0x10 = 16static final intConstant: 0x08 = 8 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Tokencreate(byte[] Data, int offset, int length) create is intended for internal use only.booleantokdflt()booleantokdgrp()booleantokdsec()booleantokencr()booleantokerr()inttokflg1()TOKFLG1 value.inttokflg2()TOKFLG2 value.inttokflg3()TOKFLG3 value.tokgrup()TOKGRUP value.tokiplok()TOKIPLOK value.booleantokipv()inttoklen()TOKLEN value.booleantoklogu()booleantoklt19()booleantoknetf()toknetw()TOKNETW value.tokpoe()TOKPOE value.tokpoex()TOKPOEX as a PoeClass.intTOKPOEX raw value.booleantokpriv()booleantokremot()booleantokrspec()tokscl()TOKSCL value.toksgrp()TOKSGRP value.toksnod()TOKSNOD value.tokstyp()TOKSTYP as a SessionType.intTOKSTYP raw value.booleantoksus()toksusr()TOKSUSR value.booleantoktrst()booleantokudus()booleantokunusr()tokuser()TOKUSER value.inttokvers()TOKVERS value.booleantokvxprp()booleantokwdwn()tokxnod()TOKXNOD value.Methods inherited from class com.blackhillsoftware.smf.SmfData
createSection, getTriplet
-
Field Details
-
TOKVER01
public static final int TOKVER01Constant: 0x01 = 1- See Also:
-
TOKCVER
public static final int TOKCVERConstant: 0x01 = 1- See Also:
-
TOKENCR
public static final int TOKENCRConstant: 0x80 = 128- See Also:
-
TOKLT19
public static final int TOKLT19Constant: 0x20 = 32- See Also:
-
TOKVXPRP
public static final int TOKVXPRPConstant: 0x10 = 16- See Also:
-
TOKUNUSR
public static final int TOKUNUSRConstant: 0x08 = 8- See Also:
-
TOKLOGU
public static final int TOKLOGUConstant: 0x04 = 4- See Also:
-
TOKRSPEC
public static final int TOKRSPECConstant: 0x02 = 2- See Also:
-
TOKDFLT
public static final int TOKDFLTConstant: 0x80 = 128- See Also:
-
TOKUDUS
public static final int TOKUDUSConstant: 0x40 = 64- See Also:
-
TOKERR
public static final int TOKERRConstant: 0x10 = 16- See Also:
-
TOKTRST
public static final int TOKTRSTConstant: 0x08 = 8- See Also:
-
TOKSUS
public static final int TOKSUSConstant: 0x04 = 4- See Also:
-
TOKREMOT
public static final int TOKREMOTConstant: 0x02 = 2- See Also:
-
TOKPRIV
public static final int TOKPRIVConstant: 0x01 = 1- See Also:
-
TOKDGRP
public static final int TOKDGRPConstant: 0x80 = 128- See Also:
-
TOKDSEC
public static final int TOKDSECConstant: 0x40 = 64- See Also:
-
TOKNETF
public static final int TOKNETFConstant: 0x20 = 32- See Also:
-
TOKIPV
public static final int TOKIPVConstant: 0x10 = 16- See Also:
-
TOKWDWN
public static final int TOKWDWNConstant: 0x08 = 8- See Also:
-
TOKCURLN
public static final int TOKCURLNConstant: 0x50 = 80- See Also:
-
-
Constructor Details
-
Token
public Token(byte[] Data)
-
-
Method Details
-
toklen
public int toklen()TOKLEN value.- Returns:
- int TOKLEN value
-
tokvers
public int tokvers()TOKVERS value.- Returns:
- int TOKVERS value
-
tokflg1
public int tokflg1()TOKFLG1 value.- Returns:
- int TOKFLG1 value
-
tokencr
public boolean tokencr()- Returns:
- boolean TOKENCR bit is set in tokflg1()
TOKENCR = 0x80
-
toklt19
public boolean toklt19()- Returns:
- boolean TOKLT19 bit is set in tokflg1()
TOKLT19 = 0x20
-
tokvxprp
public boolean tokvxprp()- Returns:
- boolean TOKVXPRP bit is set in tokflg1()
TOKVXPRP = 0x10
-
tokunusr
public boolean tokunusr()- Returns:
- boolean TOKUNUSR bit is set in tokflg1()
TOKUNUSR = 0x08
-
toklogu
public boolean toklogu()- Returns:
- boolean TOKLOGU bit is set in tokflg1()
TOKLOGU = 0x04
-
tokrspec
public boolean tokrspec()- Returns:
- boolean TOKRSPEC bit is set in tokflg1()
TOKRSPEC = 0x02
-
tokstyp
TOKSTYP as a SessionType.- Returns:
- SessionType TOKSTYP
-
tokstypRawValue
public int tokstypRawValue()TOKSTYP raw value.- Returns:
- int TOKSTYP value
-
tokflg2
public int tokflg2()TOKFLG2 value.- Returns:
- int TOKFLG2 value
-
tokdflt
public boolean tokdflt()- Returns:
- boolean TOKDFLT bit is set in tokflg2()
TOKDFLT = 0x80
-
tokudus
public boolean tokudus()- Returns:
- boolean TOKUDUS bit is set in tokflg2()
TOKUDUS = 0x40
-
tokerr
public boolean tokerr()- Returns:
- boolean TOKERR bit is set in tokflg2()
TOKERR = 0x10
-
toktrst
public boolean toktrst()- Returns:
- boolean TOKTRST bit is set in tokflg2()
TOKTRST = 0x08
-
toksus
public boolean toksus()- Returns:
- boolean TOKSUS bit is set in tokflg2()
TOKSUS = 0x04
-
tokremot
public boolean tokremot()- Returns:
- boolean TOKREMOT bit is set in tokflg2()
TOKREMOT = 0x02
-
tokpriv
public boolean tokpriv()- Returns:
- boolean TOKPRIV bit is set in tokflg2()
TOKPRIV = 0x01
-
tokpoex
TOKPOEX as a PoeClass.- Returns:
- PoeClass TOKPOEX
-
tokpoexRawValue
public int tokpoexRawValue()TOKPOEX raw value.- Returns:
- int TOKPOEX value
-
tokflg3
public int tokflg3()TOKFLG3 value.- Returns:
- int TOKFLG3 value
-
tokdgrp
public boolean tokdgrp()- Returns:
- boolean TOKDGRP bit is set in tokflg3()
TOKDGRP = 0x80
-
tokdsec
public boolean tokdsec()- Returns:
- boolean TOKDSEC bit is set in tokflg3()
TOKDSEC = 0x40
-
toknetf
public boolean toknetf()- Returns:
- boolean TOKNETF bit is set in tokflg3()
TOKNETF = 0x20
-
tokipv
public boolean tokipv()- Returns:
- boolean TOKIPV bit is set in tokflg3()
TOKIPV = 0x10
-
tokwdwn
public boolean tokwdwn()- Returns:
- boolean TOKWDWN bit is set in tokflg3()
TOKWDWN = 0x08
-
tokscl
TOKSCL value.- Returns:
- String TOKSCL value
-
tokxnod
TOKXNOD value.- Returns:
- String TOKXNOD value
-
toksusr
TOKSUSR value.- Returns:
- String TOKSUSR value
-
toksnod
TOKSNOD value.- Returns:
- String TOKSNOD value
-
toksgrp
TOKSGRP value.- Returns:
- String TOKSGRP value
-
tokiplok
TOKIPLOK value.- Returns:
- String TOKIPLOK value
-
tokpoe
TOKPOE value.- Returns:
- String TOKPOE value
-
toknetw
TOKNETW value.- Returns:
- String TOKNETW value
-
tokuser
TOKUSER value.- Returns:
- String TOKUSER value
-
tokgrup
TOKGRUP value.- Returns:
- String TOKGRUP value
-
create
create is intended for internal use only. Instances of this section are created by the parent record or section.- Parameters:
Data- Array of bytes containing data for this sectionoffset- Offset of this section in the datalength- length of the section
-