Examples of StoreCName


Examples of org.apache.directory.shared.kerberos.codec.authenticator.actions.StoreCName

        super.transitions[AuthenticatorStatesEnum.AUTHENTICATOR_CREALM_STATE.ordinal()][KerberosConstants.AUTHENTICATOR_CNAME_TAG] =
            new GrammarTransition<AuthenticatorContainer>(
                AuthenticatorStatesEnum.AUTHENTICATOR_CREALM_STATE,
                AuthenticatorStatesEnum.AUTHENTICATOR_CNAME_STATE,
                KerberosConstants.AUTHENTICATOR_CNAME_TAG,
                new StoreCName() );

        // --------------------------------------------------------------------------------------------
        // Transition from cname to cksum
        // --------------------------------------------------------------------------------------------
        // Authenticator    ::= [APPLICATION 2] SEQUENCE {
View Full Code Here

Examples of org.apache.directory.shared.kerberos.codec.authenticator.actions.StoreCName

        super.transitions[AuthenticatorStatesEnum.AUTHENTICATOR_CREALM_STATE.ordinal()][KerberosConstants.AUTHENTICATOR_CNAME_TAG] =
            new GrammarTransition<AuthenticatorContainer>(
                AuthenticatorStatesEnum.AUTHENTICATOR_CREALM_STATE,
                AuthenticatorStatesEnum.AUTHENTICATOR_CNAME_STATE,
                KerberosConstants.AUTHENTICATOR_CNAME_TAG,
                new StoreCName() );

        // --------------------------------------------------------------------------------------------
        // Transition from cname to cksum
        // --------------------------------------------------------------------------------------------
        // Authenticator    ::= [APPLICATION 2] SEQUENCE {
View Full Code Here

Examples of org.apache.directory.shared.kerberos.codec.authenticator.actions.StoreCName

        super.transitions[AuthenticatorStatesEnum.AUTHENTICATOR_CREALM_STATE.ordinal()][KerberosConstants.AUTHENTICATOR_CNAME_TAG] =
            new GrammarTransition<AuthenticatorContainer>(
                AuthenticatorStatesEnum.AUTHENTICATOR_CREALM_STATE,
                AuthenticatorStatesEnum.AUTHENTICATOR_CNAME_STATE,
                KerberosConstants.AUTHENTICATOR_CNAME_TAG,
                new StoreCName() );

        // --------------------------------------------------------------------------------------------
        // Transition from cname to cksum
        // --------------------------------------------------------------------------------------------
        // Authenticator    ::= [APPLICATION 2] SEQUENCE {
View Full Code Here

Examples of org.apache.directory.shared.kerberos.codec.encTicketPart.actions.StoreCName

        super.transitions[EncTicketPartStatesEnum.ENC_TICKET_PART_CREALM_STATE.ordinal()][KerberosConstants.ENC_TICKET_PART_CNAME_TAG] =
            new GrammarTransition<EncTicketPartContainer>(
                EncTicketPartStatesEnum.ENC_TICKET_PART_CREALM_STATE,
                EncTicketPartStatesEnum.ENC_TICKET_PART_CNAME_TAG_STATE,
                KerberosConstants.ENC_TICKET_PART_CNAME_TAG,
                new StoreCName() );

        super.transitions[EncTicketPartStatesEnum.ENC_TICKET_PART_CNAME_TAG_STATE.ordinal()][KerberosConstants.ENC_TICKET_PART_TRANSITED_TAG] =
            new GrammarTransition<EncTicketPartContainer>(
                EncTicketPartStatesEnum.ENC_TICKET_PART_CNAME_TAG_STATE,
                EncTicketPartStatesEnum.ENC_TICKET_PART_TRANSITED_TAG_STATE,
View Full Code Here

Examples of org.apache.directory.shared.kerberos.codec.encTicketPart.actions.StoreCName

        super.transitions[EncTicketPartStatesEnum.ENC_TICKET_PART_CREALM_STATE.ordinal()][KerberosConstants.ENC_TICKET_PART_CNAME_TAG] =
            new GrammarTransition<EncTicketPartContainer>(
                EncTicketPartStatesEnum.ENC_TICKET_PART_CREALM_STATE,
                EncTicketPartStatesEnum.ENC_TICKET_PART_CNAME_TAG_STATE,
                KerberosConstants.ENC_TICKET_PART_CNAME_TAG,
                new StoreCName() );

        super.transitions[EncTicketPartStatesEnum.ENC_TICKET_PART_CNAME_TAG_STATE.ordinal()][KerberosConstants.ENC_TICKET_PART_TRANSITED_TAG] =
            new GrammarTransition<EncTicketPartContainer>(
                EncTicketPartStatesEnum.ENC_TICKET_PART_CNAME_TAG_STATE,
                EncTicketPartStatesEnum.ENC_TICKET_PART_TRANSITED_TAG_STATE,
View Full Code Here

Examples of org.apache.directory.shared.kerberos.codec.kdcRep.actions.StoreCName

        super.transitions[KdcRepStatesEnum.KDC_REP_CREALM_STATE.ordinal()][KerberosConstants.KDC_REP_CNAME_TAG] =
            new GrammarTransition<KdcRepContainer>(
                KdcRepStatesEnum.KDC_REP_CREALM_STATE,
                KdcRepStatesEnum.KDC_REP_CNAME_STATE,
                KerberosConstants.KDC_REP_CNAME_TAG,
                new StoreCName() );

        // --------------------------------------------------------------------------------------------
        // Transition from cname to ticket
        // --------------------------------------------------------------------------------------------
        // KDC-REP         ::= SEQUENCE {
View Full Code Here

Examples of org.apache.directory.shared.kerberos.codec.kdcRep.actions.StoreCName

        super.transitions[KdcRepStatesEnum.KDC_REP_CREALM_STATE.ordinal()][KerberosConstants.KDC_REP_CNAME_TAG] =
            new GrammarTransition<KdcRepContainer>(
                KdcRepStatesEnum.KDC_REP_CREALM_STATE,
                KdcRepStatesEnum.KDC_REP_CNAME_STATE,
                KerberosConstants.KDC_REP_CNAME_TAG,
                new StoreCName() );

        // --------------------------------------------------------------------------------------------
        // Transition from cname to ticket
        // --------------------------------------------------------------------------------------------
        // KDC-REP         ::= SEQUENCE {
View Full Code Here

Examples of org.apache.directory.shared.kerberos.codec.kdcReqBody.actions.StoreCName

        super.transitions[KdcReqBodyStatesEnum.KDC_REQ_BODY_CNAME_OR_REALM_TAG_STATE.ordinal()][KerberosConstants.KDC_REQ_BODY_CNAME_TAG] =
            new GrammarTransition<KdcReqBodyContainer>(
                KdcReqBodyStatesEnum.KDC_REQ_BODY_CNAME_OR_REALM_TAG_STATE,
                KdcReqBodyStatesEnum.KDC_REQ_BODY_CNAME_STATE,
                KerberosConstants.KDC_REQ_BODY_CNAME_TAG,
                new StoreCName() );

        // --------------------------------------------------------------------------------------------
        // Transition from kdc-options value to realm tag (cname is empty)
        // --------------------------------------------------------------------------------------------
        // KDC-REQ-BODY    ::= SEQUENCE {
View Full Code Here

Examples of org.apache.directory.shared.kerberos.codec.kdcReqBody.actions.StoreCName

        super.transitions[KdcReqBodyStatesEnum.KDC_REQ_BODY_CNAME_OR_REALM_TAG_STATE.ordinal()][KerberosConstants.KDC_REQ_BODY_CNAME_TAG] =
            new GrammarTransition<KdcReqBodyContainer>(
                KdcReqBodyStatesEnum.KDC_REQ_BODY_CNAME_OR_REALM_TAG_STATE,
                KdcReqBodyStatesEnum.KDC_REQ_BODY_CNAME_STATE,
                KerberosConstants.KDC_REQ_BODY_CNAME_TAG,
                new StoreCName() );

        // --------------------------------------------------------------------------------------------
        // Transition from kdc-options value to realm tag (cname is empty)
        // --------------------------------------------------------------------------------------------
        // KDC-REQ-BODY    ::= SEQUENCE {
View Full Code Here

Examples of org.apache.directory.shared.kerberos.codec.krbError.actions.StoreCName

        super.transitions[KrbErrorStatesEnum.KRB_ERR_CREALM_STATE.ordinal()][KerberosConstants.KRB_ERROR_CNAME_TAG] =
            new GrammarTransition<KrbErrorContainer>(
                KrbErrorStatesEnum.KRB_ERR_CREALM_STATE,
                KrbErrorStatesEnum.KRB_ERR_CNAME_STATE,
                KerberosConstants.KRB_ERROR_CNAME_TAG,
                new StoreCName() );

        // --------------------------------------------------------------------------------------------
        // Transition from cname value to realm tag
        // --------------------------------------------------------------------------------------------
        // realm           [9]
        super.transitions[KrbErrorStatesEnum.KRB_ERR_CNAME_STATE.ordinal()][KerberosConstants.KRB_ERROR_REALM_TAG] =
            new GrammarTransition<KrbErrorContainer>(
                KrbErrorStatesEnum.KRB_ERR_CNAME_STATE,
                KrbErrorStatesEnum.KRB_ERR_REALM_TAG_STATE,
                KerberosConstants.KRB_ERROR_REALM_TAG,
                new CheckNotNullLength<KrbErrorContainer>() );

        // --------------------------------------------------------------------------------------------
        // Transition from realm tag to realm value
        // --------------------------------------------------------------------------------------------
        // realm           [9] Realm
        super.transitions[KrbErrorStatesEnum.KRB_ERR_REALM_TAG_STATE.ordinal()][UniversalTag.GENERAL_STRING.getValue()] =
            new GrammarTransition<KrbErrorContainer>(
                KrbErrorStatesEnum.KRB_ERR_REALM_TAG_STATE,
                KrbErrorStatesEnum.KRB_ERR_REALM_STATE,
                UniversalTag.GENERAL_STRING,
                new StoreRealm() );

        // --------------------------------------------------------------------------------------------
        // Transition from realm value to sname
        // --------------------------------------------------------------------------------------------
        // sname           [10] PrincipalName,
        super.transitions[KrbErrorStatesEnum.KRB_ERR_REALM_STATE.ordinal()][KerberosConstants.KRB_ERROR_SNAME_TAG] =
            new GrammarTransition<KrbErrorContainer>(
                KrbErrorStatesEnum.KRB_ERR_REALM_STATE,
                KrbErrorStatesEnum.KRB_ERR_SNAME_STATE,
                KerberosConstants.KRB_ERROR_SNAME_TAG,
                new StoreSName() );

        // --------------------------------------------------------------------------------------------
        // Transition from sname value to etext tag
        // --------------------------------------------------------------------------------------------
        // e-text          [11]
        super.transitions[KrbErrorStatesEnum.KRB_ERR_SNAME_STATE.ordinal()][KerberosConstants.KRB_ERROR_ETEXT_TAG] =
            new GrammarTransition<KrbErrorContainer>(
                KrbErrorStatesEnum.KRB_ERR_SNAME_STATE,
                KrbErrorStatesEnum.KRB_ERR_ETEXT_TAG_STATE,
                KerberosConstants.KRB_ERROR_ETEXT_TAG,
                new CheckNotNullLength<KrbErrorContainer>() );

        // --------------------------------------------------------------------------------------------
        // Transition from etext tag to etext value
        // --------------------------------------------------------------------------------------------
        // e-text          [11] KerberosString OPTIONAL
        super.transitions[KrbErrorStatesEnum.KRB_ERR_ETEXT_TAG_STATE.ordinal()][UniversalTag.GENERAL_STRING.getValue()] =
            new GrammarTransition<KrbErrorContainer>(
                KrbErrorStatesEnum.KRB_ERR_ETEXT_TAG_STATE,
                KrbErrorStatesEnum.KRB_ERR_ETEXT_STATE,
                UniversalTag.GENERAL_STRING,
                new StoreEText() );

        // --------------------------------------------------------------------------------------------
        // Transition from etext value to edata tag
        // --------------------------------------------------------------------------------------------
        // e-data          [12]
        super.transitions[KrbErrorStatesEnum.KRB_ERR_ETEXT_STATE.ordinal()][KerberosConstants.KRB_ERROR_EDATA_TAG] =
            new GrammarTransition<KrbErrorContainer>(
                KrbErrorStatesEnum.KRB_ERR_ETEXT_STATE,
                KrbErrorStatesEnum.KRB_ERR_EDATA_TAG_STATE,
                KerberosConstants.KRB_ERROR_EDATA_TAG,
                new CheckNotNullLength<KrbErrorContainer>() );

        // --------------------------------------------------------------------------------------------
        // Transition from edata tag to edata value
        // --------------------------------------------------------------------------------------------
        // e-data          [12] OCTET STRING OPTIONAL
        super.transitions[KrbErrorStatesEnum.KRB_ERR_EDATA_TAG_STATE.ordinal()][UniversalTag.OCTET_STRING.getValue()] =
            new GrammarTransition<KrbErrorContainer>(
                KrbErrorStatesEnum.KRB_ERR_EDATA_TAG_STATE,
                KrbErrorStatesEnum.KRB_ERR_EDATA_STATE,
                UniversalTag.OCTET_STRING,
                new StoreEData() );

        // ----------------------------------------- OPTIONAL transitions -----------------------------------------

        // --------------------------------------------------------------------------------------------
        // Transition from msg-type value to cusec tag
        // --------------------------------------------------------------------------------------------
        // cusec           [3]
        super.transitions[KrbErrorStatesEnum.KRB_ERR_MSG_TYPE_STATE.ordinal()][KerberosConstants.KRB_ERROR_CUSEC_TAG] =
            new GrammarTransition<KrbErrorContainer>(
                KrbErrorStatesEnum.KRB_ERR_MSG_TYPE_STATE,
                KrbErrorStatesEnum.KRB_ERR_CUSEC_TAG_STATE,
                KerberosConstants.KRB_ERROR_CUSEC_TAG,
                new CheckNotNullLength<KrbErrorContainer>() );

        // --------------------------------------------------------------------------------------------
        // Transition from msg-type value to stime tag
        // --------------------------------------------------------------------------------------------
        // stime           [4]
        super.transitions[KrbErrorStatesEnum.KRB_ERR_MSG_TYPE_STATE.ordinal()][KerberosConstants.KRB_ERROR_STIME_TAG] =
            new GrammarTransition<KrbErrorContainer>(
                KrbErrorStatesEnum.KRB_ERR_MSG_TYPE_STATE,
                KrbErrorStatesEnum.KRB_ERR_STIME_TAG_STATE,
                KerberosConstants.KRB_ERROR_STIME_TAG,
                new CheckNotNullLength<KrbErrorContainer>() );

        // --------------------------------------------------------------------------------------------
        // Transition from cTime value to stime tag
        // --------------------------------------------------------------------------------------------
        // stime           [4]
        super.transitions[KrbErrorStatesEnum.KRB_ERR_CTIME_STATE.ordinal()][KerberosConstants.KRB_ERROR_STIME_TAG] =
            new GrammarTransition<KrbErrorContainer>(
                KrbErrorStatesEnum.KRB_ERR_CTIME_STATE,
                KrbErrorStatesEnum.KRB_ERR_STIME_TAG_STATE,
                KerberosConstants.KRB_ERROR_STIME_TAG,
                new CheckNotNullLength<KrbErrorContainer>() );

        // from erro-code to realm

        // --------------------------------------------------------------------------------------------
        // Transition from error-code value to realm tag
        // --------------------------------------------------------------------------------------------
        // realm           [9]
        super.transitions[KrbErrorStatesEnum.KRB_ERR_ERROR_CODE_STATE.ordinal()][KerberosConstants.KRB_ERROR_REALM_TAG] =
            new GrammarTransition<KrbErrorContainer>(
                KrbErrorStatesEnum.KRB_ERR_ERROR_CODE_STATE,
                KrbErrorStatesEnum.KRB_ERR_REALM_TAG_STATE,
                KerberosConstants.KRB_ERROR_REALM_TAG,
                new CheckNotNullLength<KrbErrorContainer>() );

        // --------------------------------------------------------------------------------------------
        // Transition from error-code value to cname
        // --------------------------------------------------------------------------------------------
        // cname           [8] PrincipalName OPTIONAL,
        super.transitions[KrbErrorStatesEnum.KRB_ERR_ERROR_CODE_STATE.ordinal()][KerberosConstants.KRB_ERROR_CNAME_TAG] =
            new GrammarTransition<KrbErrorContainer>(
                KrbErrorStatesEnum.KRB_ERR_ERROR_CODE_STATE,
                KrbErrorStatesEnum.KRB_ERR_CNAME_STATE,
                KerberosConstants.KRB_ERROR_CNAME_TAG,
                new StoreCName() );

        // --------------------------------------------------------------------------------------------
        // Transition from crealm value to realm tag
        // --------------------------------------------------------------------------------------------
        // realm           [9]
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.