Package oracle.adf.share

Examples of oracle.adf.share.ADFContext


    private static final String ldapLastLogonAttribute = "LASTLOGONTIMESTAMP";
    private static final String ldapPwdLastSetAttribute = "PWDLASTSET";

    public OpssBean() {

        ADFContext adfCtx = ADFContext.getCurrent();
        SecurityContext secCntx = adfCtx.getSecurityContext();

        this.username = secCntx.getUserName();

        for (String role : secCntx.getUserRoles()) {
            this.roles = this.roles + role + ", ";
View Full Code Here


    private String resolveExpression(final String expression) {
        if (!ADFContext.hasCurrent()) { // No context available, we are prob. in the design mode of JDev.
            return null;
        }
        ADFContext adfCtxt = ADFContext.getCurrent();
        Environment env = adfCtxt.getEnvironment();
        Object ctxt = env == null ? null : env.getContext();
        if (ctxt instanceof ServletContext) {
            ServletContext sCtxt = (ServletContext) ctxt;
            return sCtxt.getInitParameter(expression);
        }
View Full Code Here

TOP

Related Classes of oracle.adf.share.ADFContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.