@Test void testCreateSidRole() { Sid sid = SidUtils.createRoleSid("NAME"); assertEquals(new GrantedAuthoritySid(new SimpleGrantedAuthority("ROLE_NAME")), sid); }
public static Sid createRoleSid(String rolename) { return createAuthoritySid(createRoleAuthority(rolename)); }
SidUtils { public static Sid createRoleSid(String rolename) { return createAuthoritySid(createRoleAuthority(rolename)); } }
SidUtils { public static Sid createRoleSid(String rolename) { return createAuthoritySid(createRoleAuthority(rolename)); } private  SidUtils(); }
SidUtils { public static Sid createRoleSid(String rolename) { return createAuthoritySid(createRoleAuthority(rolename)); } private  SidUtils(); static Sid createSecurityContextSid(); static Sid createUserSid(String username); static Sid createRoleSid(String rolename); static Sid createAuthoritySid(String authority); static String createRoleAuthority(String roleName); static String getRoleName(String authority); static Sid createAnonymousSid(); }
SidUtils { public static Sid createRoleSid(String rolename) { return createAuthoritySid(createRoleAuthority(rolename)); } private  SidUtils(); static Sid createSecurityContextSid(); static Sid createUserSid(String username); static Sid createRoleSid(String rolename); static Sid createAuthoritySid(String authority); static String createRoleAuthority(String roleName); static String getRoleName(String authority); static Sid createAnonymousSid(); static final String ROLE_PREFIX; }