org.wildfly.extras.creaper.commands.security.realms
Class KerberosKeytab.Builder

java.lang.Object
  extended by org.wildfly.extras.creaper.commands.security.realms.KerberosKeytab.Builder
Enclosing class:
KerberosKeytab

public static final class KerberosKeytab.Builder
extends Object


Constructor Summary
KerberosKeytab.Builder()
           
 
Method Summary
 KerberosKeytab build()
           
 KerberosKeytab.Builder debug(boolean debug)
           
 KerberosKeytab.Builder path(String path)
           
 KerberosKeytab.Builder principal(String principal)
           
 KerberosKeytab.Builder relativeTo(String relativeTo)
           
 KerberosKeytab.Builder validForAllHosts()
          Indicate that this keytab is relevant for all hosts.
 KerberosKeytab.Builder validForHosts(String... forHosts)
          Add hosts related to this keytab.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KerberosKeytab.Builder

public KerberosKeytab.Builder()
Method Detail

principal

public KerberosKeytab.Builder principal(String principal)

path

public KerberosKeytab.Builder path(String path)

relativeTo

public KerberosKeytab.Builder relativeTo(String relativeTo)

validForHosts

public KerberosKeytab.Builder validForHosts(String... forHosts)
Add hosts related to this keytab. In case when this keytab is relevant for all hosts then you can set "*" as host in parameter of this method or rather use validForAllHosts() method of this builder.


validForAllHosts

public KerberosKeytab.Builder validForAllHosts()
Indicate that this keytab is relevant for all hosts.


debug

public KerberosKeytab.Builder debug(boolean debug)

build

public KerberosKeytab build()


Copyright © 2020. All rights reserved.