jdk/src/share/classes/sun/security/jgss/wrapper/NativeGSSContext.java
changeset 4336 4c792c19266e
parent 3482 4aaa66ce712d
child 5506 202f599c92aa
equal deleted inserted replaced
4335:365eb4449319 4336:4c792c19266e
   547         changeFlags(GSS_C_CONF_FLAG, state);
   547         changeFlags(GSS_C_CONF_FLAG, state);
   548     }
   548     }
   549     public void requestInteg(boolean state) throws GSSException {
   549     public void requestInteg(boolean state) throws GSSException {
   550         changeFlags(GSS_C_INTEG_FLAG, state);
   550         changeFlags(GSS_C_INTEG_FLAG, state);
   551     }
   551     }
       
   552     public void requestDelegPolicy(boolean state) throws GSSException {
       
   553         // Not supported, ignore
       
   554     }
   552     public void requestLifetime(int lifetime) throws GSSException {
   555     public void requestLifetime(int lifetime) throws GSSException {
   553         if (isInitiator && pContext == 0) {
   556         if (isInitiator && pContext == 0) {
   554             this.lifetime = lifetime;
   557             this.lifetime = lifetime;
   555         }
   558         }
   556     }
   559     }
   587     public boolean getConfState() {
   590     public boolean getConfState() {
   588         return checkFlags(GSS_C_CONF_FLAG);
   591         return checkFlags(GSS_C_CONF_FLAG);
   589     }
   592     }
   590     public boolean getIntegState() {
   593     public boolean getIntegState() {
   591         return checkFlags(GSS_C_INTEG_FLAG);
   594         return checkFlags(GSS_C_INTEG_FLAG);
       
   595     }
       
   596     public boolean getDelegPolicyState() {
       
   597         return false;
   592     }
   598     }
   593     public int getLifetime() {
   599     public int getLifetime() {
   594         return cStub.getContextTime(pContext);
   600         return cStub.getContextTime(pContext);
   595     }
   601     }
   596     public GSSNameSpi getSrcName() throws GSSException {
   602     public GSSNameSpi getSrcName() throws GSSException {