Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 2 (11.1.2)

E54416-01


oracle.security.opss.runtime
Interface UserSecurityContext


public interface UserSecurityContext

Method Summary
 javax.security.auth.Subject getOpssSubject()
          When OPSS user security context is established, e.g.
 TenantInfo getTenantInfo()
          Gets the tenant information associated with the current authenticated user.
 boolean isAnonymousUser()
          checks if the current user is an anonymous user

 

Method Detail

getOpssSubject

javax.security.auth.Subject getOpssSubject()
When OPSS user security context is established, e.g. user OPSS subject is set in AccessControlcontext, returns user OPSS subject.
Returns:
OPSS subject

isAnonymousUser

boolean isAnonymousUser()
                        throws JpsException
checks if the current user is an anonymous user
Returns:
true if it's an anonymous user.
Throws:
JpsException

getTenantInfo

TenantInfo getTenantInfo()
                         throws JpsException
Gets the tenant information associated with the current authenticated user.
Returns:
Tenant info, null if the current subject is null or the user not authenticated
Throws:
JpsException

Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 2 (11.1.2)

E54416-01


Copyright © 2011, 2015, Oracle and/or its affiliates. All rights reserved.