KerberosConfig.fromJson constructor

KerberosConfig.fromJson(
  1. Map json_
)

Implementation

KerberosConfig.fromJson(core.Map json_)
    : this(
        crossRealmTrustAdminServer:
            json_.containsKey('crossRealmTrustAdminServer')
                ? json_['crossRealmTrustAdminServer'] as core.String
                : null,
        crossRealmTrustKdc: json_.containsKey('crossRealmTrustKdc')
            ? json_['crossRealmTrustKdc'] as core.String
            : null,
        crossRealmTrustRealm: json_.containsKey('crossRealmTrustRealm')
            ? json_['crossRealmTrustRealm'] as core.String
            : null,
        crossRealmTrustSharedPasswordUri:
            json_.containsKey('crossRealmTrustSharedPasswordUri')
                ? json_['crossRealmTrustSharedPasswordUri'] as core.String
                : null,
        enableKerberos: json_.containsKey('enableKerberos')
            ? json_['enableKerberos'] as core.bool
            : null,
        kdcDbKeyUri: json_.containsKey('kdcDbKeyUri')
            ? json_['kdcDbKeyUri'] as core.String
            : null,
        keyPasswordUri: json_.containsKey('keyPasswordUri')
            ? json_['keyPasswordUri'] as core.String
            : null,
        keystorePasswordUri: json_.containsKey('keystorePasswordUri')
            ? json_['keystorePasswordUri'] as core.String
            : null,
        keystoreUri: json_.containsKey('keystoreUri')
            ? json_['keystoreUri'] as core.String
            : null,
        kmsKeyUri: json_.containsKey('kmsKeyUri')
            ? json_['kmsKeyUri'] as core.String
            : null,
        realm:
            json_.containsKey('realm') ? json_['realm'] as core.String : null,
        rootPrincipalPasswordUri:
            json_.containsKey('rootPrincipalPasswordUri')
                ? json_['rootPrincipalPasswordUri'] as core.String
                : null,
        tgtLifetimeHours: json_.containsKey('tgtLifetimeHours')
            ? json_['tgtLifetimeHours'] as core.int
            : null,
        truststorePasswordUri: json_.containsKey('truststorePasswordUri')
            ? json_['truststorePasswordUri'] as core.String
            : null,
        truststoreUri: json_.containsKey('truststoreUri')
            ? json_['truststoreUri'] as core.String
            : null,
      );