use of com.hazelcast.config.security.TokenEncoding in project hazelcast by hazelcast.
the class YamlMemberDomConfigProcessor method handleToken.
@Override
protected void handleToken(RealmConfig realmConfig, Node node) {
TokenEncoding encoding = TokenEncoding.getTokenEncoding(getAttribute(node, "encoding"));
TokenIdentityConfig tic = new TokenIdentityConfig(encoding, getAttribute(node, "value"));
realmConfig.setTokenIdentityConfig(tic);
}
use of com.hazelcast.config.security.TokenEncoding in project hazelcast by hazelcast.
the class MemberDomConfigProcessor method handleToken.
protected void handleToken(RealmConfig realmConfig, Node node) {
TokenEncoding encoding = TokenEncoding.getTokenEncoding(getAttribute(node, "encoding"));
TokenIdentityConfig tic = new TokenIdentityConfig(encoding, getTextContent(node));
realmConfig.setTokenIdentityConfig(tic);
}
Aggregations