1 /* 2 * Licensed to the Apache Software Foundation (ASF) under one 3 * or more contributor license agreements. See the NOTICE file 4 * distributed with this work for additional information 5 * regarding copyright ownership. The ASF licenses this file 6 * to you under the Apache License, Version 2.0 (the 7 * "License"); you may not use this file except in compliance 8 * with the License. You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, 13 * software distributed under the License is distributed on an 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 * KIND, either express or implied. See the License for the 16 * specific language governing permissions and limitations 17 * under the License. 18 * 19 */ 20 package org.apache.directory.server.kerberos.shared.messages.components; 21 22 23 import javax.security.auth.kerberos.KerberosPrincipal; 24 25 import org.apache.directory.server.kerberos.shared.messages.value.EncryptionKey; 26 import org.apache.directory.server.kerberos.shared.messages.value.HostAddresses; 27 import org.apache.directory.server.kerberos.shared.messages.value.KerberosTime; 28 import org.apache.directory.server.kerberos.shared.messages.value.LastRequest; 29 import org.apache.directory.server.kerberos.shared.messages.value.flags.TicketFlags; 30 31 32 /** 33 * Encrypted part of the authentication service response. 34 * 35 * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a> 36 * @version $Rev: 591019 $, $Date: 2007-11-01 15:16:34 +0100 (Do, 01 Nov 2007) $ 37 */ 38 public class EncAsRepPart extends EncKdcRepPart 39 { 40 /** 41 * Creates a new instance of EncAsRepPart. 42 * 43 * @param key 44 * @param lastReq 45 * @param nonce 46 * @param keyExpiration 47 * @param flags 48 * @param authTime 49 * @param startTime 50 * @param endTime 51 * @param renewTill 52 * @param serverPrincipal 53 * @param caddr 54 */ 55 public EncAsRepPart(EncryptionKey key, LastRequest lastReq, int nonce, KerberosTime keyExpiration, 56 TicketFlags flags, KerberosTime authTime, KerberosTime startTime, KerberosTime endTime, KerberosTime renewTill, 57 KerberosPrincipal serverPrincipal, HostAddresses caddr) 58 { 59 super( key, lastReq, nonce, keyExpiration, flags, authTime, startTime, endTime, renewTill, serverPrincipal, 60 caddr, MessageComponentType.KRB_ENC_AS_REP_PART ); 61 } 62 }