public boolean allowUdp() { Boolean allowUdp = commonOptions.getBooleanOption( KrbOption.ALLOW_UDP, krbConfig.allowUdp()); return allowUdp; }
/** * Get whether udp protocol is allowed * @return udp protocol is allowed or not */ public boolean allowUdp() { Boolean allowUdp = startupOptions.getBooleanOption( AdminServerOption.ALLOW_UDP, adminServerConfig.allowUdp()); return allowUdp; }
/** * Get whether udp protocol is allowed * @return udp protocol is allowed or not */ public boolean allowUdp() { Boolean allowUdp = startupOptions.getBooleanOption( KdcServerOption.ALLOW_UDP, kdcConfig.allowUdp()); return allowUdp; }
public boolean allowUdp() { Boolean allowUdp = commonOptions.getBooleanOption( AdminOption.ALLOW_UDP, adminConfig.allowUdp()); return allowUdp; }
public boolean allowUdp() { Boolean allowUdp = commonOptions.getBooleanOption( KrbOption.ALLOW_UDP, krbConfig.allowUdp()); return allowUdp; }
public boolean allowTcp() { Boolean allowTcp = commonOptions.getBooleanOption( KrbOption.ALLOW_TCP, krbConfig.allowTcp()); return allowTcp; }
/** * Get whether tcp protocol is allowed * @return tcp protocol is allowed or not */ public boolean allowTcp() { Boolean allowTcp = startupOptions.getBooleanOption( AdminServerOption.ALLOW_TCP, adminServerConfig.allowTcp()); return allowTcp; }
public boolean allowTcp() { Boolean allowTcp = commonOptions.getBooleanOption( KrbOption.ALLOW_TCP, krbConfig.allowTcp()); return allowTcp; }
/** * Get whether tcp protocol is allowed * @return tcp protocol is allowed or not */ public boolean allowTcp() { Boolean allowTcp = startupOptions.getBooleanOption( KdcServerOption.ALLOW_TCP, kdcConfig.allowTcp()); return allowTcp; }
/** * Get whether udp protocol is allowed * @return udp protocol is allowed or not */ public boolean allowUdp() { Boolean allowUdp = startupOptions.getBooleanOption( KdcServerOption.ALLOW_UDP, kdcConfig.allowUdp()); return allowUdp; }
/** * Get whether tcp protocol is allowed * @return tcp protocol is allowed or not */ public boolean allowTcp() { Boolean allowTcp = startupOptions.getBooleanOption( KdcServerOption.ALLOW_TCP, kdcConfig.allowTcp()); return allowTcp; }
public boolean allowUdp() { Boolean allowUdp = commonOptions.getBooleanOption( AdminOption.ALLOW_UDP, adminConfig.allowUdp()); return allowUdp; }
public boolean allowTcp() { Boolean allowTcp = commonOptions.getBooleanOption( AdminOption.ALLOW_TCP, adminConfig.allowTcp()); return allowTcp; }
/** * Get whether tcp protocol is allowed * @return tcp protocol is allowed or not */ public boolean allowTcp() { Boolean allowTcp = startupOptions.getBooleanOption( AdminServerOption.ALLOW_TCP, adminServerConfig.allowTcp()); return allowTcp; }
public boolean allowTcp() { Boolean allowTcp = commonOptions.getBooleanOption( AdminOption.ALLOW_TCP, adminConfig.allowTcp()); return allowTcp; }
/** * Get whether udp protocol is allowed * @return udp protocol is allowed or not */ public boolean allowUdp() { Boolean allowUdp = startupOptions.getBooleanOption( AdminServerOption.ALLOW_UDP, adminServerConfig.allowUdp()); return allowUdp; }
/** * Modify the principal with KOptions. * * @param identity The identity to be modified * @param kOptions The KOptions with changed principal info */ public static void updateIdentity(KrbIdentity identity, KOptions kOptions) { if (kOptions.contains(KadminOption.EXPIRE)) { Date date = kOptions.getDateOption(KadminOption.EXPIRE); identity.setExpireTime(new KerberosTime(date.getTime())); } if (kOptions.contains(KadminOption.DISABLED)) { identity.setDisabled(kOptions.getBooleanOption(KadminOption.DISABLED, false)); } if (kOptions.contains(KadminOption.LOCKED)) { identity.setLocked(kOptions.getBooleanOption(KadminOption.LOCKED, false)); } }
/** * Modify the principal with KOptions. * * @param identity The identity to be modified * @param kOptions The KOptions with changed principal info */ public static void updateIdentity(KrbIdentity identity, KOptions kOptions) { if (kOptions.contains(KadminOption.EXPIRE)) { Date date = kOptions.getDateOption(KadminOption.EXPIRE); identity.setExpireTime(new KerberosTime(date.getTime())); } if (kOptions.contains(KadminOption.DISABLED)) { identity.setDisabled(kOptions.getBooleanOption(KadminOption.DISABLED, false)); } if (kOptions.contains(KadminOption.LOCKED)) { identity.setLocked(kOptions.getBooleanOption(KadminOption.LOCKED, false)); } }
/** * {@inheritDoc} */ @Override public void setPreauthOptions(KdcRequest kdcRequest, PluginRequestContext requestContext, KOptions options) { tokenContext.setUsingIdToken(options.getBooleanOption(TokenOption.USE_TOKEN, false)); if (tokenContext.isUsingIdToken()) { if (options.contains(TokenOption.USER_ID_TOKEN)) { tokenContext.setToken((AuthToken) options.getOptionValue(TokenOption.USER_ID_TOKEN)); } } else { if (options.contains(TokenOption.USER_AC_TOKEN)) { tokenContext.setToken((AuthToken) options.getOptionValue(TokenOption.USER_AC_TOKEN)); } } }
/** * {@inheritDoc} */ @Override public void setPreauthOptions(KdcRequest kdcRequest, PluginRequestContext requestContext, KOptions options) { tokenContext.setUsingIdToken(options.getBooleanOption(TokenOption.USE_TOKEN, false)); if (tokenContext.isUsingIdToken()) { if (options.contains(TokenOption.USER_ID_TOKEN)) { tokenContext.setToken((AuthToken) options.getOptionValue(TokenOption.USER_ID_TOKEN)); } } else { if (options.contains(TokenOption.USER_AC_TOKEN)) { tokenContext.setToken((AuthToken) options.getOptionValue(TokenOption.USER_AC_TOKEN)); } } }