org.apache.directory.shared.kerberos.components
Class AuthorizationDataEntry

java.lang.Object
  extended by org.apache.directory.shared.kerberos.components.AuthorizationDataEntry

public class AuthorizationDataEntry
extends Object

The class storing the individual AuthorizationDatas

Author:
Apache Directory Project

Constructor Summary
AuthorizationDataEntry()
          Creates a new instance of AD entry
AuthorizationDataEntry(AuthorizationType adType, byte[] adData)
          Creates a new Instance of AD entry
 
Method Summary
 boolean equals(Object obj)
          
 byte[] getAdData()
           
 byte[] getAdDataRef()
           
 AuthorizationType getAdType()
           
 int hashCode()
          
 void setAdData(byte[] adData)
           
 void setAdType(AuthorizationType adType)
           
 String toString()
           
 String toString(String tabs)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuthorizationDataEntry

public AuthorizationDataEntry()
Creates a new instance of AD entry


AuthorizationDataEntry

public AuthorizationDataEntry(AuthorizationType adType,
                              byte[] adData)
Creates a new Instance of AD entry

Parameters:
adType - The AuthorizationData type
adData - The AuthorizationData data
Method Detail

getAdType

public AuthorizationType getAdType()
Returns:
the adType

setAdType

public void setAdType(AuthorizationType adType)
Parameters:
adType - the adType to set

getAdData

public byte[] getAdData()
Returns:
a copy of adData

getAdDataRef

public byte[] getAdDataRef()
Returns:
the reference on adData

setAdData

public void setAdData(byte[] adData)
Parameters:
adData - the adData to set

hashCode

public int hashCode()

Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

toString

public String toString(String tabs)
See Also:
Object.toString()

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.