Skip to content

Instantly share code, notes, and snippets.

@serac
Created March 9, 2012 17:52
Show Gist options
  • Save serac/2007751 to your computer and use it in GitHub Desktop.
Save serac/2007751 to your computer and use it in GitHub Desktop.
Comparison of Serialized TGT vs Kryo
TGT-1-JAGo69rXn4IuYt5M4oevMOKpXL4ggqOYystTowLYNgHJpb4ej5-cas-tier-1 0 1375
passwordStateACTIVEDENTIFIER 82A00DEAC2111F7EE0440003BA624FA9uid1145718
accountStateACTIVELOA@urn:oasis:names:tc:SAML:2.0:post:ac:classes:nist-800-63:v1-0-2:2authIdseracvirginiaTechAffiliationXX-EMPLOYEE-STATE
XX-EMPLOYEEXX-ACTIVE-MEMBERXX-STAFF
XX-STUDENTXX-ALUM-CONSTITUENTXX-ALUMgroupMembership5uugid=irm.dat.authz.fiddlestix,ou=Groups,dc=xx,dc=yyy)uugid=ita.osx.lion,ou=Groups,dc=xx,dc=yyy-uugid=fiddlestix.staff,ou=Groups,dc=xx,dc=yyy6uugid=fiddlestix.wiki.authz.ctu,ou=Groups,dc=xx,dc=yyy'uugid=seti.certs,ou=Groups,dc=xx,dc=yyyFormatted NameseracauthenticationMethod9org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler%samlAuthenticationStatementAuthMethodAurn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransportLOA@urn:oasis:names:tc:SAML:2.0:post:ac:classes:nist-800-63:v1-0-2:2�����M%QBTGT-1-JAGo69rXn4IuYt5M4oevMOKpXL4ggqOYystTowLYNgHJpb4ej5-cas-tier-1ܼ���M�����M#ST-2-QfIWgSmmaR6LDY9V7em2-cas-tier-11https://webapps-tier.fiddlestix.xx.yyy/dat/home.do#ST-1-WCUWyEwkEsJe6TFjecCd-cas-tier-1#https://foobar-tier.es.xx.yyy/Login#ST-4-OwK1OljrvIOVbgokJvkF-cas-tier-1Ohttps://webapps-tier.foobar.xx.yyy/foobar-cas-tier/authorized/foobar/GenericApp1#ST-3-eqeqlGck6xkvpbdG3Wuj-cas-tier-1Fhttps://foobar-tier.es.xx.yyy/accounts/myaccounts/pid/recovery_options
TGT-1-d4VYifce4Y5bc0pILQ0MKUmJs6Vd2vW2aXnyL6MIBuxVWeDfiS-cas-tier-1 1 3904
��sr-org.jasig.cas.ticket.TicketGrantingTicketImpl��.��*�Lauthenticationt-Lorg/jasig/cas/authentication/Authentication;LexpiredtLjava/lang/Boolean;servicestLjava/util/HashMap;xr#org.jasig.cas.ticket.AbstractTicket��
�L$�]I
countOfUsesJ
creationTimeJ
lastTimeUsedJpreviousLastTimeUsedLexpirationPolicyt'Lorg/jasig/cas/ticket/ExpirationPolicy;LidtLjava/lang/String;LticketGrantingTickett/Lorg/jasig/cas/ticket/TicketGrantingTicketImpl;xp5��5����5��q�sr8org.jasig.cas.ticket.support.HardTimeoutExpirationPolicy맻1ߵJtimeToKillInMilliSecondsxp%QtBTGT-1-d4VYifce4Y5bc0pILQ0MKUmJs6Vd2vW2aXnyL6MIBuxVWeDfiS-cas-tier-1psr4org.jasig.cas.authentication.ImmutableAuthentication67309493LauthenticatedDatetLjava/util/Date;xr3org.jasig.cas.authentication.AbstractAuthentication_��}����L
attributestLjava/util/Map;L principalt2Lorg/jasig/cas/authentication/principal/Principal;xpsr%java.util.Collections$UnmodifiableMap����t�BLmq~xpsrjava.util.HashMap���`�F
loadFactorI thresholdxp?@
tLOAt@urn:oasis:names:tc:SAML:2.0:post:ac:classes:nist-800-63:v1-0-2:2tauthenticationMethodt9org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandlert%samlAuthenticationStatementAuthMethodtAurn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransportxsr6org.jasig.cas.authentication.principal.SimplePrincipal���V�Y}�L
attributesq~Lidq~xpsq~sq~?@

tUDC_IDENTIFIERt
passwordStatetACTIVEt03BA624FA9tuidt1145718t
accountStatetACTIVEq~q~tauthIdtnobodtvirginiaTechAffiliationsr&java.util.Collections$UnmodifiableList%1��LlisttLjava/util/List;xr,java.util.Collections$UnmodifiableCollectionB��^�LctLjava/util/Collection;xpsrjava.util.ArrayListx����a�IsizexpwtXX-EMPLOYEE-STATEt
XX-EMPLOYEEtXX-ACTIVE-MEMBERXX-STAFFt
XX-STUDENTtXX-ALUM-CONSTITUENTtXX-ALUMxq~1tgroupMembershipsq~+sq~0wt5uugid=irm.dat.authz.fiddlestix,ou=Groups,dc=xx,dc=yyyt)uugid=ita.osx.lion,ou=Groups,dc=xx,dc=yyyt-uugid=fiddlestix.staff,ou=Groups,dc=xx,dc=yyyt6uugid=fiddlestix.wiki.authz.ctu,ou=Groups,dc=xx,dc=yyyt'uugid=seti.certs,ou=Groups,dc=xx,dc=yyyxq~;tFormatted Nameq~)xq~)srjava.util.Datehj�KYtxp5���xsrjava.lang.Boolean� r�՜��Zvaluexpsq~?@
t#ST-1-C52V471VSdLVn6Ohkx2V-cas-tier-1srForg.jasig.cas.authentication.principal.SimpleWebApplicationServiceImpls��m��L
responseTypet>Lorg/jasig/cas/authentication/principal/Response$ResponseType;xrDorg.jasig.cas.authentication.principal.AbstractWebApplicationService�����g-YZloggedOutAlreadyL
artifactIdq~L
httpClienttLorg/jasig/cas/util/HttpClient;Lidq~L
originalUrlq~L principalq~xppsrorg.jasig.cas.util.HttpClient�Z�G��kIconnectionTimeoutI
readTimeout[acceptableCodest[Ixp��ur[IM�`&v겥xp�0.-�t#https://foobar-tier.es.xx.yyy/Loginq~Rq~~r<org.jasig.cas.authentication.principal.Response$ResponseTypexrjava.lang.EnumxpREDIRECTt#ST-3-4B0aHpbtvrI6u5uUjO5s-cas-tier-1sq~Hpsq~M��uq~P�0.-�tFhttps://foobar-tier.es.xx.yyy/accounts/myaccounts/pid/recovery_optionsq~[q~q~Ut#ST-4-uDT2nxPxvo6gbuKMNxDq-cas-tier-1sq~Hpsq~M��uq~P�0.-�tOhttps://webapps-tier.foobar.xx.yyy/foobar-cas-tier/authorized/foobar/GenericApp1t�https://webapps-tier.foobar.xx.yyy/foobar-cas-tier/authorized/foobar/GenericApp1;jsessionid=7467C73FFF6CDFD5F00512991FC8B22A.mt-tier-2q~q~Ut#ST-2-7Oyfbn1u35orYLhFLcwe-cas-tier-1sq~Hpsq~M��uq~P�0.-�t1https://webapps-tier.fiddlestix.xx.yyy/dat/home.dot]https://webapps-tier.fiddlestix.xx.yyy/dat/home.do;jsessionid=00A7CD6299EEA3232A1416775B4BB4DCq~q~Ux
@serac
Copy link
Author

serac commented Mar 9, 2012

Kryo file size: 1492
Serialized file size: 3390

Serialized form is 2.2 times larger.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment