|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BulkRoleMapper
The BulkRoleMapper
interface defines the security service provider
interface (SSPI) for providers capable of obtaining the
appropriate set of roles, for a list of resources, that have been granted to
a specific subject.
Method Summary | |
---|---|
Map<Resource,Map<String,SecurityRole>> |
getRoles(Subject subject,
List<Resource> resource,
ContextHandler handler)
Indicates whether the role policies defined for the list of resources allow the requestor to posses a given role by utilizing the information contained in the subject and context. |
Method Detail |
---|
Map<Resource,Map<String,SecurityRole>> getRoles(Subject subject, List<Resource> resource, ContextHandler handler)
subject
- a Subject
object containing the identity
of the principals that are attempting to perform a request
on the specified resource.resource
- a Resource
object indicating the type of
resource on which the subject is attempting to perform a
request.handler
- a ContextHandler
object that can optionally
be used by the Role Mapping provider
to obtain additional information that may be used in making
the authorization decision. If the caller is unable to provide
additional information, a null
value should
be specified.
Map
of roles indexed first by resource and then by their names,
representing the security roles associated with the specified resources
that have been granted to the subject.SecurityRole
|
Copyright 1996, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |