亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? s7turnappservrealm.java

?? JSF with Maven, Auth module
?? JAVA
字號:
/* * OBAppservRealm.java * * Created on August 1, 2007, 10:21 AM * * To change this template, choose Tools | Template Manager * and open the template in the editor. */package com.s7turn.security;import com.sun.appserv.security.AppservRealm;import com.sun.enterprise.connectors.ConnectorRuntime;import com.sun.logging.LogDomains;import com.sun.enterprise.security.auth.realm.BadRealmException;import com.sun.enterprise.security.auth.realm.NoSuchRealmException;import com.sun.enterprise.security.auth.realm.NoSuchUserException;import java.util.logging.Level;import java.util.logging.Logger;import java.sql.Connection;import java.sql.PreparedStatement;import java.sql.ResultSet;import java.text.NumberFormat;import java.util.ArrayList;import java.util.Enumeration;import java.util.List;import java.util.Properties;import java.util.Vector;import java.util.logging.Level;import java.util.logging.Logger;import javax.sql.DataSource;/** * Realm class for Glassfish security * @author ansonau */public class S7TurnAppservRealm extends com.sun.appserv.security.AppservRealm{        private static Logger logger = LogDomains.getLogger (LogDomains.SECURITY_LOGGER);    /**     * Default AUTH TYPE     */    private static String defaultAuthtype = "simplecustom";    /**     * Default Authe Type para     */    private static String defaultAuthtypeparam = "auth-type";    /**     * Runtime Auth type     */    private String authType = null;    /**     * JNDI for cobrand     */    private String dsJndi = "jndi/cobrandpsDS";        private static Vector groups = new Vector();        static    {        groups.add("general");    }        /**     * Logger     */        /**     * This method is invoked during server startup when the realm is     * initially loaded.     * The props argument contains the properties defined     * for this realm in domain.xml.     * The realm can do any initialization it needs in this method.     * If the method returns without throwing an exception,     * J2EE Application Server assumes the realm is ready     * to service authentication requests.     * If an exception is thrown, the realm is disabled,     * check the server.log for messages.     * @param props Properties for this realm     * @throws com.sun.enterprise.security.auth.realm.BadRealmException Throw when the realm config has error     * @throws com.sun.enterprise.security.auth.realm.NoSuchRealmException Throw when realm not found     */    public void init (Properties props) throws BadRealmException, NoSuchRealmException    {                super.init (props);        log ("init()...");                               /*        * Set the jaas context, otherwise server doesn't indentify the login module.        * jaas-context is the property specified in domain.xml and        * is the name corresponding to LoginModule        * config/login.conf        */        String jaasCtx = props.getProperty (AppservRealm.JAAS_CONTEXT_PARAM);        this.setProperty (AppservRealm.JAAS_CONTEXT_PARAM, jaasCtx);               /*        * Get any other interested properties from configuration file - domain.xml        * say auth-type defined in domain.xml.        */        String authTypeProp = props.getProperty (defaultAuthtypeparam);        if (authTypeProp!=null)        {            this.authType = authTypeProp;        }        else        {            this.authType = defaultAuthtype;        }            }                /**     * Return a short description supported authentication by this realm.     *     * @return Description of the kind of authentication that is directly     *     supported by this realm.     */    public String getAuthType ()    {        return this.authType;    }            /**     * Returns enumeration of groups that a particular user belongs to.     * @param user User name     * @exception NoSuchUserException Throw when user not found     * @return Return the groups that the user belong to     */    public Enumeration getGroupNames (String user) throws NoSuchUserException    {        return groups.elements();    }            /**     * Helper methods.     *      * Simple message print method used throught the program     * @param mesg Message to print     */    public static void log (String fmt, Object... param)    {        //logger.log (Level.INFO, "SimpleCustomRealm:"+mesg );        String mesg = String.format(fmt, param);        //System.out.println(mesg);        logger.info(mesg);            }        }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人国产一区二区三区精品| 天堂精品中文字幕在线| 不卡视频在线观看| 亚洲欧洲美洲综合色网| 99久久精品国产毛片| 亚洲精品视频一区二区| 欧美午夜片在线看| 日韩高清在线观看| 欧美精品一区二区三区视频| 国产成人啪免费观看软件| 国产精品福利一区| 欧美日韩国产小视频在线观看| 日韩av电影一区| 久久婷婷国产综合精品青草| av资源网一区| 亚洲欧美日韩中文字幕一区二区三区 | 在线亚洲一区二区| 午夜精品久久久久影视| 欧美刺激脚交jootjob| 国产福利不卡视频| 亚洲综合色视频| 日韩视频在线观看一区二区| 国产.精品.日韩.另类.中文.在线.播放| 亚洲蜜臀av乱码久久精品 | 日韩欧美综合一区| 大美女一区二区三区| 亚洲成在人线免费| 久久五月婷婷丁香社区| 欧美在线观看一区二区| 国产精品99久久久久| 亚洲免费观看高清完整版在线观看熊| 欧美一区二区三级| 色综合久久综合网| 国产做a爰片久久毛片| 亚洲精品国产无套在线观| 日韩欧美国产综合| 成人免费看的视频| 另类专区欧美蜜桃臀第一页| 国产精品福利电影一区二区三区四区| 欧美军同video69gay| 成人三级伦理片| 日韩avvvv在线播放| 亚洲黄色片在线观看| 国产亚洲精品久| 欧美日韩一区二区电影| 波多野结衣中文一区| 久久精工是国产品牌吗| 亚洲午夜一二三区视频| 日本一二三四高清不卡| 欧美成人性福生活免费看| 欧美日韩久久久| 色综合一区二区三区| 福利电影一区二区三区| 麻豆freexxxx性91精品| 亚洲国产aⅴ天堂久久| 亚洲女子a中天字幕| 国产欧美一区二区精品婷婷| 日韩欧美激情在线| 91精品免费在线| 在线看不卡av| 91同城在线观看| 91网站在线播放| 99精品偷自拍| 99热这里都是精品| 不卡欧美aaaaa| 粉嫩一区二区三区性色av| 国产在线不卡一卡二卡三卡四卡| 美女高潮久久久| 日本aⅴ精品一区二区三区| 无码av免费一区二区三区试看| 亚洲日本免费电影| 国产精品久久久一本精品 | 亚洲欧美国产毛片在线| 亚洲欧洲av一区二区三区久久| 国产日韩高清在线| 国产区在线观看成人精品| 国产欧美一区二区精品性色超碰 | 午夜精品福利在线| 亚洲九九爱视频| 亚洲乱码中文字幕| 亚洲蜜臀av乱码久久精品蜜桃| 中文字幕一区二区三区乱码在线| 国产精品天干天干在线综合| 亚洲国产精品高清| 一区免费观看视频| 一区二区三区四区中文字幕| 亚洲成人你懂的| 亚洲大尺度视频在线观看| 日韩精品亚洲一区二区三区免费| 日本午夜一本久久久综合| 久久激情五月激情| 成人免费毛片片v| 91麻豆精品在线观看| 欧美日韩精品二区第二页| 日韩三区在线观看| 欧美国产精品v| 亚洲日韩欧美一区二区在线| 午夜欧美视频在线观看| 久草中文综合在线| 国产精品一区二区三区网站| 99精品视频在线观看免费| 色网站国产精品| 日韩亚洲国产中文字幕欧美| 日韩精品一区二区三区三区免费 | 亚洲欧美日韩电影| 五月天丁香久久| 国产毛片一区二区| 色狠狠av一区二区三区| 欧美一区二区三区视频在线 | 一区二区三区美女| 免费观看91视频大全| 成人综合日日夜夜| 91黄色免费观看| www精品美女久久久tv| 亚洲乱码日产精品bd| 首页国产欧美日韩丝袜| 成人精品国产一区二区4080| 欧美美女黄视频| 中文字幕国产一区二区| 日本美女视频一区二区| 高清日韩电视剧大全免费| 欧美精品色综合| 国产精品电影一区二区| 男女性色大片免费观看一区二区| 国产精品1024| 欧美日产在线观看| 国产精品久久综合| 久久电影国产免费久久电影| 日本道免费精品一区二区三区| 精品国产露脸精彩对白| 一区二区三区 在线观看视频| 久久电影网电视剧免费观看| 欧美性猛片xxxx免费看久爱| 精品国产亚洲一区二区三区在线观看| 亚洲美女视频在线观看| 福利一区二区在线观看| 日韩精品中文字幕一区二区三区| 亚洲综合久久久久| 波多野结衣91| 国产清纯在线一区二区www| 美女在线一区二区| 欧美丰满嫩嫩电影| 亚洲国产精品影院| 97久久精品人人做人人爽| 久久久不卡网国产精品二区| 日韩福利视频导航| 欧美日韩色一区| 一区av在线播放| 一本色道**综合亚洲精品蜜桃冫| 中文字幕免费不卡| 国产精品一区二区三区乱码| 精品免费视频.| 久久精品国产精品亚洲红杏| 欧美疯狂性受xxxxx喷水图片| 亚洲精品国产无天堂网2021 | 欧美午夜精品理论片a级按摩| 国产无人区一区二区三区| 精品一区二区免费视频| 精品嫩草影院久久| 韩国欧美一区二区| 久久综合狠狠综合| 精品一区二区免费视频| 精品国产凹凸成av人网站| 久久精品国产亚洲a| 日韩欧美一区二区不卡| 麻豆精品在线看| 亚洲精品在线网站| 国产一区二区精品久久99| 国产校园另类小说区| 国产福利一区二区三区视频| 国产日韩精品视频一区| 成人黄动漫网站免费app| 国产精品剧情在线亚洲| 91热门视频在线观看| 亚洲综合免费观看高清完整版| 欧美日韩视频不卡| 另类人妖一区二区av| 久久精品一区二区三区不卡| 国产成人丝袜美腿| 亚洲人精品午夜| 欧美性大战久久| 老司机一区二区| 欧美国产日韩亚洲一区| 91丨porny丨户外露出| 亚洲成人免费观看| 欧美一级免费大片| 国产高清无密码一区二区三区| 国产日韩欧美精品在线| 一本大道av一区二区在线播放| 亚洲综合丁香婷婷六月香| 欧美另类videos死尸| 国产在线播精品第三| 中文字幕日本乱码精品影院| 91国产福利在线| 国产成a人亚洲精品| 国产精品三级在线观看| 在线观看一区二区视频| 久久国产欧美日韩精品| 国产精品伦一区| 欧美精品xxxxbbbb|