public static TransactionPermission forName(final String name) { Assert.checkNotNullParam("name", name); return "*".equals(name) ? allPermission : mapping.getItemByString(name); } }
/** * Get the permission with the given name. * * @param name the name (must not be {@code null}) * @return the permission (not {@code null}) * @throws IllegalArgumentException if the name is not valid */ public static ElytronPermission forName(final String name) { Assert.checkNotNullParam("name", name); return name.equals("*") ? allPermission : mapping.getItemByString(name); } }
/** * Get the permission with the given name. * * @param name the name (must not be {@code null}) * @return the permission (not {@code null}) * @throws IllegalArgumentException if the name is not valid */ public static RemotingPermission forName(final String name) { Assert.checkNotNullParam("name", name); return name.equals("*") ? ALL_PERMISSION : mapping.getItemByString(name); } }
/** * Get the permission with the given name. * * @param name the name (must not be {@code null}) * @return the permission (not {@code null}) * @throws IllegalArgumentException if the name is not valid */ public static CredentialStorePermission forName(final String name) { Assert.checkNotNullParam("name", name); return name.equals("*") ? allPermission : mapping.getItemByString(name); } }
/** * Get the permission with the given name. * * @param name the name (must not be {@code null}) * @return the permission (not {@code null}) * @throws IllegalArgumentException if the name is not valid */ public static WildFlySecurityManagerPermission forName(final String name) { Assert.checkNotNullParam("name", name); return name.equals("*") ? allPermission : mapping.getItemByString(name); } }
public EJBClientPermission withName(final String name) { Assert.checkNotNullParam("name", name); return "*".equals(name) ? ALL : mapping.getItemByString(name); } }
/** * Get the permission with the given name. * * @param name the name (must not be {@code null}) * * @return the permission (not {@code null}) * * @throws IllegalArgumentException if the name is not valid */ public static BatchPermission forName(final String name) { Assert.checkNotNullParam("name", name); return "*".equals(name) ? allPermission : mapping.getItemByString(name); } }
/** * Get the permission with the given name. * * @param name the name (must not be {@code null}) * @return the permission (not {@code null}) * @throws IllegalArgumentException if the name is not valid */ public static WildFlySecurityManagerPermission forName(final String name) { Assert.checkNotNullParam("name", name); return name.equals("*") ? allPermission : mapping.getItemByString(name); } }
public static TransactionPermission forName(final String name) { Assert.checkNotNullParam("name", name); return "*".equals(name) ? allPermission : mapping.getItemByString(name); } }
/** * Get the permission with the given name. * * @param name the name (must not be {@code null}) * @return the permission (not {@code null}) * @throws IllegalArgumentException if the name is not valid */ public static WildFlySecurityManagerPermission forName(final String name) { Assert.checkNotNullParam("name", name); return name.equals("*") ? allPermission : mapping.getItemByString(name); } }
public EJBClientPermission withName(final String name) { Assert.checkNotNullParam("name", name); return "*".equals(name) ? ALL : mapping.getItemByString(name); } }
/** * Get the permission with the given name. * * @param name the name (must not be {@code null}) * @return the permission (not {@code null}) * @throws IllegalArgumentException if the name is not valid */ public static ElytronPermission forName(final String name) { Assert.checkNotNullParam("name", name); return name.equals("*") ? allPermission : mapping.getItemByString(name); } }
/** * Get the permission with the given name. * * @param name the name (must not be {@code null}) * @return the permission (not {@code null}) * @throws IllegalArgumentException if the name is not valid */ public static WildFlySecurityManagerPermission forName(final String name) { Assert.checkNotNullParam("name", name); return name.equals("*") ? allPermission : mapping.getItemByString(name); } }
/** * Get the permission with the given name. * * @param name the name (must not be {@code null}) * @return the permission (not {@code null}) * @throws IllegalArgumentException if the name is not valid */ public static ElytronPermission forName(final String name) { Assert.checkNotNullParam("name", name); return name.equals("*") ? allPermission : mapping.getItemByString(name); } }
/** * Get the permission with the given name. * * @param name the name (must not be {@code null}) * @return the permission (not {@code null}) * @throws IllegalArgumentException if the name is not valid */ public static CredentialStorePermission forName(final String name) { Assert.checkNotNullParam("name", name); return name.equals("*") ? allPermission : mapping.getItemByString(name); } }
/** * Get the permission with the given name. * * @param name the name (must not be {@code null}) * @return the permission (not {@code null}) * @throws IllegalArgumentException if the name is not valid */ public static RemotingPermission forName(final String name) { Assert.checkNotNullParam("name", name); return name.equals("*") ? ALL_PERMISSION : mapping.getItemByString(name); } }
public EJBClientPermission withName(final String name) { Assert.checkNotNullParam("name", name); return "*".equals(name) ? ALL : mapping.getItemByString(name); } }
/** * Get the permission with the given name. * * @param name the name (must not be {@code null}) * @return the permission (not {@code null}) * @throws IllegalArgumentException if the name is not valid */ public static CredentialStorePermission forName(final String name) { Assert.checkNotNullParam("name", name); return name.equals("*") ? allPermission : mapping.getItemByString(name); } }
/** * Get the permission with the given name. * * @param name the name (must not be {@code null}) * @return the permission (not {@code null}) * @throws IllegalArgumentException if the name is not valid */ public static ElytronPermission forName(final String name) { Assert.checkNotNullParam("name", name); return name.equals("*") ? allPermission : mapping.getItemByString(name); } }
/** * Get the permission with the given name. * * @param name the name (must not be {@code null}) * @return the permission (not {@code null}) * @throws IllegalArgumentException if the name is not valid */ public static CredentialStorePermission forName(final String name) { Assert.checkNotNullParam("name", name); return name.equals("*") ? allPermission : mapping.getItemByString(name); } }