Package com.sun.identity.rest.spi
Interface IAuthorization
-
- All Superinterfaces:
jakarta.servlet.Filter
- All Known Implementing Classes:
SSOTokenAuthZ
public interface IAuthorization extends jakarta.servlet.FilterImplements this interface to do REST permission check.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String[]accept()Returns the accept authentication methodSubjectgetAuthZSubject(jakarta.servlet.http.HttpServletRequest req)Returns subject.
-
-
-
Method Detail
-
accept
String[] accept()
Returns the accept authentication method- Returns:
- the accept authentication method
-
getAuthZSubject
Subject getAuthZSubject(jakarta.servlet.http.HttpServletRequest req) throws RestException
Returns subject.- Parameters:
req- Http Servlet Request- Returns:
- subject.
- Throws:
RestException- if subject cannot be created.
-
-