/** * Constructs this realm info and adds it into the domain. * * @return the security domain builder */ public Builder build() { assertNotBuilt(); return parent.addRealm(this); }
/** * Set the role mapper. * * @param roleMapper the role mapper (may not be {@code null}) */ public RealmBuilder setRoleMapper(final RoleMapper roleMapper) { assertNotBuilt(); Assert.checkNotNullParam("roleMapper", roleMapper); this.roleMapper = roleMapper; return this; }
/** * Set the role decoder. * * @param roleDecoder the role decoder (may not be {@code null}) */ public RealmBuilder setRoleDecoder(final RoleDecoder roleDecoder) { Assert.checkNotNullParam("roleDecoder", roleDecoder); assertNotBuilt(); this.roleDecoder = roleDecoder; return this; }
/** * Set the role decoder. * * @param roleDecoder the role decoder (may not be {@code null}) */ public RealmBuilder setRoleDecoder(final RoleDecoder roleDecoder) { Assert.checkNotNullParam("roleDecoder", roleDecoder); assertNotBuilt(); this.roleDecoder = roleDecoder; return this; }
/** * Set the name rewriter. * * @param principalRewriter the name rewriter (may not be {@code null}) */ public RealmBuilder setPrincipalRewriter(final Function<Principal, Principal> principalRewriter) { Assert.checkNotNullParam("principalRewriter", principalRewriter); assertNotBuilt(); this.principalRewriter = principalRewriter; return this; }
/** * Set the role mapper. * * @param roleMapper the role mapper (may not be {@code null}) */ public RealmBuilder setRoleMapper(final RoleMapper roleMapper) { assertNotBuilt(); Assert.checkNotNullParam("roleMapper", roleMapper); this.roleMapper = roleMapper; return this; }
/** * Constructs this realm info and adds it into the domain. * * @return the security domain builder */ public Builder build() { assertNotBuilt(); return parent.addRealm(this); }
/** * Set the role mapper. * * @param roleMapper the role mapper (may not be {@code null}) */ public RealmBuilder setRoleMapper(final RoleMapper roleMapper) { assertNotBuilt(); Assert.checkNotNullParam("roleMapper", roleMapper); this.roleMapper = roleMapper; return this; }
/** * Constructs this realm info and adds it into the domain. * * @return the security domain builder */ public Builder build() { assertNotBuilt(); return parent.addRealm(this); }
/** * Set the role decoder. * * @param roleDecoder the role decoder (may not be {@code null}) */ public RealmBuilder setRoleDecoder(final RoleDecoder roleDecoder) { Assert.checkNotNullParam("roleDecoder", roleDecoder); assertNotBuilt(); this.roleDecoder = roleDecoder; return this; }
/** * Set the name rewriter. * * @param principalRewriter the name rewriter (may not be {@code null}) */ public RealmBuilder setPrincipalRewriter(final Function<Principal, Principal> principalRewriter) { Assert.checkNotNullParam("principalRewriter", principalRewriter); assertNotBuilt(); this.principalRewriter = principalRewriter; return this; }
/** * Set the name rewriter. * * @param principalRewriter the name rewriter (may not be {@code null}) */ public RealmBuilder setPrincipalRewriter(final Function<Principal, Principal> principalRewriter) { Assert.checkNotNullParam("principalRewriter", principalRewriter); assertNotBuilt(); this.principalRewriter = principalRewriter; return this; }
/** * Set the role mapper. * * @param roleMapper the role mapper (may not be {@code null}) */ public RealmBuilder setRoleMapper(final RoleMapper roleMapper) { assertNotBuilt(); Assert.checkNotNullParam("roleMapper", roleMapper); this.roleMapper = roleMapper; return this; }
/** * Set the name rewriter. * * @param principalRewriter the name rewriter (may not be {@code null}) */ public RealmBuilder setPrincipalRewriter(final Function<Principal, Principal> principalRewriter) { Assert.checkNotNullParam("principalRewriter", principalRewriter); assertNotBuilt(); this.principalRewriter = principalRewriter; return this; }
/** * Set the role decoder. * * @param roleDecoder the role decoder (may not be {@code null}) */ public RealmBuilder setRoleDecoder(final RoleDecoder roleDecoder) { Assert.checkNotNullParam("roleDecoder", roleDecoder); assertNotBuilt(); this.roleDecoder = roleDecoder; return this; }
/** * Constructs this realm info and adds it into the domain. * * @return the security domain builder */ public Builder build() { assertNotBuilt(); return parent.addRealm(this); }