org.apache.activemq.artemis.spi.core.security.jaas

## Class Krb5Callback

- java.lang.Object
- - org.apache.activemq.artemis.spi.core.security.jaas.Krb5Callback

- All Implemented Interfaces:
    Callback

      public class Krb5Callback
      extends Object
      implements Callback

  A Callback for kerberos peer principal.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Krb5Callback()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Principal` | `getPeerPrincipal()` Getter for peer Principal.
    `void` | `setPeerPrincipal(Principal principal)` Setter for peer Principal.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Krb5Callback

          public Krb5Callback()

  - ### Method Detail

    - #### setPeerPrincipal

          public void setPeerPrincipal(Principal principal)

      Setter for peer Principal.
      Parameters:
        `principal` - The certificates to be returned.

    - #### getPeerPrincipal

          public Principal getPeerPrincipal()

      Getter for peer Principal.
      Returns:
        The principal being carried.

Copyright © 2020 The Apache Software Foundation. All rights reserved.